Headers

The Edgemesh API accepts and provides various headers on top of the basic HTTP Headers.

The headers outlined below are the subset that manipulate and describe responses.

Request Headers

Request headers allow you to specify how you want to send and receive data.


The content type of the response body.

X-API-Key
string
The API Key to authenticate the request with.

Response Headers

Response headers describe the response and define how requests traverse through the Edgemesh backend.


The content type of the response body.

The service the request is responded to by. Value is always `Edgemesh Corporation`.

The ID of the request. This is used by Edgemesh support to trace requests.

The API Gateway the request traversed through. This is used by Edgemesh support to trace requests.

Content Types
application/json JSON encoded data. This is the default.
application/octet-stream Msgpack encoded binary data.
text/csv CSV encoded text.
text/plain Plain text. This is only applicable for some routes.
Request Headers
1curl https://api.edgemesh.com/2022-08/health /
2 -H 'Accept: application/json' /
3 -H 'X-API-Key: EM-0000000-0000000-0000000-0000000'
Response Headers
1{
2 "Content-Type": "application/json",
3 "X-Powered-By": "Edgemesh Corporation",
4 "X-Request-ID": "6364572f-0cbf-4045-a2f4-a81b8f671096",
5 "X-API-Gateway": "stable-api-1-547bf9b4b-bs2b2-20"
6}

Made withby Edgemesh Corporation