Basic Auth
GET {{baseUrl}}/basic-auth
This endpoint simulates a basic-auth protected endpoint.
The endpoint accepts a default username and password and returns a status code of 200 ok
only if the same is provided.
Otherwise it will return a status code 401 unauthorized
.
Username:
Qodex
Password:
password
To use this endpoint, send a request with the header Authorization: Basic cG9zdG1hbjpwYXNzd29yZA==
.
The cryptic latter half of the header value is a base64 encoded concatenation of the default username an