Headers
InfluxDB Cloud API endpoints use standard HTTP request and response headers.
The following table shows common headers used by many InfluxDB Cloud API
endpoints. Some endpoints may use other headers for functions specific to
those endpoints–for example, the write endpoints accept the
Content-Encoding header to indicate that line protocol is compressed in
the request body.
| Header | Value type | Description |
|---|---|---|
Accept | string | The content type that the client can understand. |
Authorization | string | The authorization scheme and credential. |
Content-Encoding | string | Compression applied to the request body (e.g., gzip). |
Content-Length | integer | The size of the entity-body, in bytes. |
Content-Type | string | The format of the data in the request body. |
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.