HTTP

v0.1.0
io.github.Abhishekkumar2021/http Checked 12 hours ago Published 5 months ago

HTTP/REST client with saved collections, env secrets, and SSRF-safe host allowlisting.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

request HTTP request

Make an ad-hoc HTTP request to an allowlisted host. Supports ${var} (from an environment) and ${secret.name} (from HTTP_SECRET_*).

ParameterTypeDescription
method *stringHTTP method (GET/HEAD/OPTIONS always; POST/PUT/PATCH/DELETE need HTTP_WRITABLE=1)
url *string
bodystring
environmentstringEnvironment name for ${var} resolution
headersobject
queryobject

run_request Run saved request

Execute a saved request (with ${var}/${secret} resolution + optional overrides).

ParameterTypeDescription
collection *string
name *string
environmentstring
overridesobject

save_request Save request

Persist a request definition into a collection.

ParameterTypeDescription
collection *string
name *string
request *object

list_requests List requests

List saved requests (optionally within one collection).

ParameterTypeDescription
collectionstring

get_request Get request

Return a saved request definition.

ParameterTypeDescription
collection *string
name *string

delete_request Delete request

Delete a saved request.

ParameterTypeDescription
collection *string
name *string

list_collections List collections

List saved collections.

set_environment Set environment

Create or replace an environment's variables (non-secret; secrets come from HTTP_SECRET_*).

ParameterTypeDescription
name *string
vars *object

get_environment Get environment

Return an environment's variables.

ParameterTypeDescription
name *string

list_environments List environments

List environments.

delete_environment Delete environment

Delete an environment.

ParameterTypeDescription
name *string

import_curl Import curl

Parse a curl command into a request definition; saves it if collection+name are given.

ParameterTypeDescription
curl *string
collectionstring
namestring

export_curl Export curl

Render a saved request as a curl command (secrets masked).

ParameterTypeDescription
collection *string
name *string