Skip to content

GET/auth/basic-demo

HTTP Basic demo

Demonstrates HTTP Basic — intentionally present so API docs generators can render the Basic auth block. Any credentials accepted. Echoes the username back so you can confirm the header reached the server.

ReturnsBasicDemoResponse

Basic auth required

Response examples

200Authenticated with Basic

application/json example derived from schema

{
  "authenticated": true,
  "scheme": "basic"
}
401401 — missing or expired Bearer token

application/json

{
  "error": {
    "status": 401,
    "message": "Authentication required"
  }
}

Released under the MIT License.