Returns detailed specifications for HTTP methods like GET, POST, PUT, DELETE, and others. Access via MCP in Cursor or Windsurf, or GET /v1/network/http-method with a method parameter. Example: query "PATCH" returns idempotency rules, request body requirements, and RFC compliance details. Essential for API development and debugging network protocols.
curl "https://tinyfn.io/v1/network/http-method" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/network/http-method', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/network/http-method',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's network tools:
{
"mcpServers": {
"tinyfn-network": {
"url": "https://tinyfn.io/mcp/network",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Returns method semantics, idempotency behavior, safe/unsafe classification, request body allowance, cacheable status, and RFC specifications for standard and extension methods.
Use the tool with any method name like "PUT" or "DELETE" - the response includes an idempotent boolean field and explanation of the method's idempotency guarantees.
Yes, covers RFC 7231 standard methods (GET, POST, PUT, DELETE, etc.) plus common extensions like PATCH, OPTIONS, HEAD, and can provide information on custom methods.
Absolutely - agents can query method semantics to ensure proper HTTP verb usage, check idempotency requirements, and validate API endpoint designs against HTTP standards.
Safe methods (GET, HEAD, OPTIONS) don't modify server state, while idempotent methods (GET, PUT, DELETE) produce the same result when called multiple times - POST is neither.
Get your free API key and start using Http Method Info in seconds.
Get Free API Key