On This Page
JSON Web Token Message Elements
A REST API request authenticated with a JWT consists of HTTP headers and an HTTP message
body.
- HTTP Message Elements
- Your HTTP message header must include these elements:
- HTTP Message Header ElementsHTTP Header ElementDescriptioncontent-typeThe media or file type of the request, which is also known as the Multipurpose Internet Mail Extension (MIME) type. Example:application/jsonhostThe transaction endpoint. Example:nabgateway-developer.nab.com.auauthorizationThe JSON Web Signature (JWS) bearer token. Format:Bearer <JWS token>. Steps 3B–3D explain how to create this token.
- HTTP Message Body
- Your API request.