HTTP Request header fields influence the behavior and response of the Motive APIs. One such important header is Content-Type
, which tells our servers what type of data is being sent in the request body. Currently, Motive APIs only support JSON request body type; therefore, before making a call to any of our APIs, please make sure to set the Content-Type
header to 'application/json'.
curl -H 'Content-Type: application/json' -H 'X-Api-Key: <insert api key here>' 'https://api.keeptruckin.com/v1/users'