Thanks to visit codestin.com
Credit goes to docs.tokeny.com

Manage headers

Headers to be used in all requests

Once you have access to the API, you need to add this header in all of your request:

KeyValue
AuthorizationBearer eyJ{...}fIw

Headers to used when a payload is present

Whenever you have to pass data in the body of a request, you need to pass this header:

KeyValue
Content-Typeapplication/json