Module autopulse::routes::login

source ·
Expand description

POST /login

Authenticates the user with the provided credentials and returns ok if successful.

§Responses

  • 200 OK: Returns a JSON object with the field status set to "ok".
  • 401 Unauthorized: Returned if the request is not authenticated.

Structs§