CookieFarm
ServerOpenapi

Login

Authenticates a user and issues a JWT cookie.

POST
/auth/login

Authenticates a user and issues a JWT cookie.

Request Body

Credentials

application/json
  1. body
password?string
username?string

Username for authentication

Response Body

OK

application/json
  1. response
[key: string]?any
Example Request
curl -X POST 'https://example.com/api/v1/auth/login' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{}