Basic Auth Generator
Generate HTTP Basic Authorization headers
Overview
ID: basic-auth-generator
Category: web
Call this tool over HTTP with POST /execute/basic-auth-generator. Path, headers, body fields, sample responses, and errors are documented below.
Endpoint
/api/v1/execute/basic-auth-generatorAuthenticate with X-API-Key or Authorization: Bearer. See Authentication.
API reference
Path, header, and body fields accepted by this execute call.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| tool | path | string | Yes | Tool identifier used in the execute path. Example: basic-auth-generator |
| X-API-Key | header | string | Yes | Your IT-ToolBox API key. Authorization: Bearer is also accepted. Example: YOUR_API_KEY |
| Content-Type | header | string | Yes | Must be application/json for execute requests. Example: application/json |
| input.password | body | string | Yes | Argument for Basic Auth Generator. Example: pass |
| input.username | body | string | Yes | Argument for Basic Auth Generator. Example: user |
Code examples
curl -X POST /api/v1/execute/basic-auth-generator \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"password": "pass",
"username": "user"
}
}'Tool UI
Open the interactive experience to try the tool without writing HTTP clients.
Open tool UI