Authentication

Authenticating against the API.

Login

GET http://localhost:8080/api/login

This endpoint will return a JWT token that is required for all other queries.

Request Body

NameTypeDescription

username

string

Username (1-255 characters).

password

string

Password (8-255 characters).

{
    "token": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJiYXNzZXR0QHN0cmVhbW52ci5jb20iLCJleHAiOjE1NTk3MTEwMzd9.0UrGZwAfYg6Q7qs3JnCAnopSCwFnWwasdfasdfasdf4N09XvR6YBV5KEfkW95iv3MC0I_tZRPAbGDy0j88_AluymQ"
}

Last updated