Passing Tokens via Authorization HTTP
This article pertains to: Legacy API (V1)
Can access tokens be sent using an Authorization HTTP Header?
Yes. Here are two ways to make an API call with the Access Token added as an Authorization HTTP Header.
via cURL:
curl -X GET -H 'Authorization: Token token={ACCESS_TOKEN}'
https://api.validic.com/v1/organizations/{ORGANIZATION_ID}.json
via Standard REST template with Authorization HTTP Headers:
GET https://api.validic.com/v1/organizations/{ORGANIZATION_ID}.json
-H 'Authorization: Token token={ACCESS_TOKEN}'