Skip to main content
POST
/
auth
Login
curl --request POST \
  --url 'http://{{baseurl}}/auth' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "admin",
  "password": "12345678"
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
string

Body

application/json

The body is of type object.

Response

200 - application/json

Successful response