Authorizing Requests
In most cases, when sending requests to the DaaS services, the request includes a header that contains an authorization code. The authorization code is acquired by sending a request to DAE’s DaaS token service.
Authorization API
URL
HTTP Verb
Functionality
/authorize
POST
Login with posting credentials to get access and refresh JSON Web Tokens
Get accessToken and refreshToken
POST
https://api.disasteraware.com/authorize
Login with posting credentials to get access and refresh JSON Web Tokens
Request Body
Name
Type
Description
User credential
object
User credential.
Please use the provided credentials to complete this request. The response will include a JSON Web Token (JWT) that you will send with the Authorization request header in the following format:
For more information about JWT please visit jwt.io
Last updated