HTTP Headers

All the normal HTTP headers must be sent when using the Xively API. Additional headers might be required for specific API methods. These are outlined on the appropriate API methods pages.

Common Headers:

Header Value Required?
X-ApiKey API_KEY_HERE Yes
User-Agent [Device Agent] No
Content-Length [length] Yes
Host api.xively.com Yes
Content-Encoding utf-8,gzip No