Skip to main content
Glama

httpreq

Execute HTTP requests to test APIs, webhooks, and web services during development with support for custom headers, proxies, and security features.

Instructions

Execute HTTP requests with any method (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS). Ideal for testing APIs, webhooks, and web services during development. Features: ECH (Encrypted Client Hello) and DoH (DNS over HTTPS) enabled by default. Supports custom headers, request body, and HTTP/SOCKS5 proxies. SSRF protection blocks private/internal IPs. Response body is truncated at max_response_kb. For fetching web pages as text, use webfetch. For downloading files, use download.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL to send the request to,required
methodYesHTTP method: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS,required
bodyNoRequest body (string). Typically JSON for API calls
headersNoCustom HTTP headers (e.g. Authorization, Accept)
content_typeNoContent-Type header. Default: application/json
timeout_secNoRequest timeout in seconds. Default: 30, Max: 120
proxy_urlNoHTTP or SOCKS5 proxy URL (e.g. http://proxy:8080, socks5://proxy:1080)
no_dohNoDisable DNS over HTTPS. Default: false (DoH enabled)
no_echNoDisable Encrypted Client Hello. Default: false (ECH enabled)
max_response_kbNoMaximum response body size in KB. Default: 512, Max: 2048

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/knewstimek/agent-tool'

If you have feedback or need assistance with the MCP directory API, please join our Discord server