auth
Authenticate towards the node
Changed onpost/auth
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/auth
- Authnone declared
Request body
Example request
{
"password": "wasp",
"username": "wasp"
}Response
Login was successful
Example response
{
"jwt": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ3YXNwIiwic3ViIjoid2FzcCIsImF1ZCI6WyJ3YXNwIl0sImV4cCI6MTY4OTk1MTAyNCwibmJmIjoxNjg5ODY0NjI0LCJpYXQiOjE2ODk4NjQ2MjQsImp0aSI6IjE2ODk4NjQ2MjQiLCJwZXJtaXNzaW9ucyI6eyJ3cml0ZSI6e319fQ.LNUuTaoRjEPQyD2nQ00O6NeadiG7nmOEyVIQmGNb1a0",
"error": "error"
}Changes
- info
added the non-success response with the status
- info
- info
removed the non-success response with the status
- info