User Manual
PoKeys user manual
72
www.poscope.com
More customized header:
POST /myScript.php HTTP/1.1
Host: api.xively.com
User-Agent: MyCustomDeviceAgent
Content-Type: text/csv
Content-Length: 010
Connection: close
MyData: Test1234,-15000.00
The HTTP header without 'Connection' and
'Content-length' tags must be provided by the
user
The 'Connection' and 'Content-length' tags are
automatically inserted by PoKeys device
The above example must be specified as
POST /myScript.php HTTP/1.1
Host: api.xively.com
User-Agent: MyCustomDeviceAgent
Content-Type: text/csv
MyData:
Again, an extra new line character in fifth line is essential.
Total length of final header and data is limited to 350 bytes.
Setup for Xively web service
Xively web service is an on-line database service allowing users to connect sensor-derived data (eg.
energy and environment data from objects) to the Web and to build their own applications based on
that data.
PoKeys57CNC devices feature a direct support for the Xively web service. To configure PoKeys device
for Xively, follow these steps:
1. Sign-up for a free account at http://xively.com/
2. Navigate to Develop and create a new private device
3. Under the created device information, you can find ‘Feed ID’ and ‘API key’ for your newly
created device, as shown in the figure below.










