Headers

InfluxDB HTTP API endpoints use standard HTTP request and response headers. The following table shows common headers used by many InfluxDB 3 Clustered API endpoints. Some endpoints use additional headers specific to their function — for example, write endpoints accept Content-Encoding to indicate that line protocol is compressed in the request body.

HeaderValue typeDescription
AcceptstringThe content type that the client can understand.
AuthorizationstringThe authorization scheme and credential.
Content-LengthintegerThe size of the entity-body, in bytes.
Content-TypestringThe format of the data in the request body.

Was this page helpful?

Thank you for your feedback!