Request Headers
In this guide we'll look at the request headers that you should use while consuming our API.
Bearer token
You should use your bearer token on every request while using this API. Please refer to the Authentication guide to learn how to obtain a bearer token.
cURL
curl https://vdh-solar.nl/api/v1/ping \
-H "Authorization: Bearer eyJ..."
Accept
You should set the Accept
header to application/json
to receive JSON responses from the API. This will make sure you won't receive any other type of response like plain HTML.
cURL
curl https://vdh-solar.nl/api/v1/ping \
-H "Accept: application/json"