Skip to content

Authentication

blacklizardcode edited this page May 2, 2026 · 1 revision

Authentication Endpoints

All endpoints for authentication will be documented here.

Register

Endpoint: /auth/register
Method: POST

Request

{
    "username": "usernamestring",
    "password": "passwordstring"
}

Response

Status Description
200 OK
400 Bad Request
500 Internal Server Error

Login

Endpoint: /auth/login
Method: POST

Request

{
    "username": "usernamestring",
    "password": "passwordstring"
}

Response

Status Description
200 OK + Set-Cookie: jwtstring
400 Bad Request
500 Internal Server Error

Clone this wiki locally