Create JWT REST API
Description If the credentials passed in are verified, then this API will return a valid JWT that can then be used to access other REST APIs. This REST API only support the JSON body format. The Resource URL Summary
POST /createjwt
Supported HTTP Methods
Method Description POST HTTP Headers
HTTP Header Value Content-Type application/json HTTP Body
{
"username":"",
"password":""
}
Body Properties
Property Description username
A valid user name requesting a JWT password
A valid password associated with the above username
HTTP Response
Response Codes
HTTP Code Description 200 OK. Credentials were verified and a valid JWT was returned. 401 Invalid Logon. 500 Server error. An error occurred while processing the request. The HTTP response body should have more details as to the possible cause. Response Body on Success
{
"token": ""
}
token
property, in the returned response should be used for all subsequent REST API calls.