Authentication
How to authenticate to the Edgee API
The Edgee API uses API tokens to authenticate requests. You can view and manage your API token in the Edgee Console.
Your API tokens carry many privileges, so be sure to keep them secure! Do not share your tokens in publicly accessible areas such as GitHub, client-side code, and so forth.
Authentication to the API is performed via Bearer authentication (also called token authentication). It is an HTTP authentication scheme that involves security tokens called bearer tokens. The client must send this token in the Authorization header when making requests to protected resources:
If you need to authenticate via HTTP Basic Auth,
use -u {{token}}:
instead of -H "Authorization: Bearer {{token}}"
.
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.