Authentication
Authentication allows us to know if the resource has been requested by a valid user.
A user authenticate a request by providing ‘Bearer token’ as an Authorization header to your requests.
Example
You can use any of the example below as a reference :
1 | curl -H "Authorize: Bearer unique-token-id" |
or you can some request libraries such as ‘axios’, like mentioned below
1 | // replace 'unique-token-id' with your app token id |
All the read and write operations need App tokens, these tokens can be found at the App listing page where you find a ‘key shape’ icon over every app.
Authentication error
In event of an unauthorized request, the API server throws an unauthorized object with a message
1 | { |