Auth: Others/Basic Auth
auth_others_basic_authSend basic-auth credentials to a protected test endpoint: correct default username and password return 200, while invalid credentials return 401.
Instructions
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:
postmanPassword:
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 and password.
Using Postman, to send this request, you can simply fill in the username and password in the "Authorization" tab and Postman will do the rest for you.
To know more about basic authentication, refer to the Basic Access Authentication wikipedia article. The article on authentication helpers elaborates how to use the same within the Postman app.
(Postman request: Auth: Others/Basic Auth | GET https://postman-echo.com/basic-auth)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "auth_others_basic_auth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||