Endpoints to start and end API sessions for a user
| Name | Description |
|---|---|
| login | The username or email of the user |
| password | The password for the user |
Accept: application/json Content-Type: application/json Host: example.org Cookie:
POST /api/v1/sessions
{"email":"[email protected]","password":"incorrect"}
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 0 X-Content-Type-Options: nosniff X-Download-Options: noopen X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin Content-Type: application/json; charset=utf-8 Vary: Accept, Origin Cache-Control: no-cache X-Request-Id: 0daca526-de28-4df6-8b15-558d6a56acb0 X-Runtime: 0.002811 Content-Length: 61
404 Not Found
{
"error": "You need to sign in or sign up before continuing."
}