http_request
Send authenticated HTTP requests using stored credentials without exposing secrets. Injects auth, substitutes placeholders in URL/headers/body, restricts hosts, and scrubs responses.
Instructions
Make an HTTP request authenticated with a stored credential, without exposing the secret. auth: auto (basic for user+password/user+token e.g. Jenkins; bearer for bare tokens), basic, bearer, none, header:, query:. Placeholders {{km.password}}, {{km.username}}, {{km.token}}, {{km.}} are substituted in url/headers/body. Only hosts registered on the credential are allowed (anti-exfiltration guard). Response body is scrubbed of the secret.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| url | Yes | ||
| auth | No | auto | |
| body | No | ||
| json | No | ||
| method | No | GET | |
| headers | No | ||
| purpose | No | ||
| timeout | No | ||
| allow_any_host | No | ||
| follow_redirects | No |