http_request
Send custom HTTP requests with specified method, headers, cookies, and data, then inspect the full response—status, headers, body, redirect chain, and timing—for web application testing.
Instructions
Make an HTTP request and inspect the full response. url: target URL method: GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS headers: dict of HTTP headers e.g. {"Authorization": "Bearer token"} cookies: dict of cookies e.g. {"session": "abc123"} data: request body for POST/PUT (string or JSON) follow_redirects: follow 3xx redirects (default True) timeout: request timeout in seconds save_to: if set, save response body to this file path (for binaries/large files) extract_text: if True and HTML, strip tags and return visible text only Returns: status, headers, body (or file path if save_to), redirect chain, timing
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| data | No | ||
| method | No | GET | |
| cookies | No | ||
| headers | No | ||
| save_to | No | ||
| timeout | No | ||
| extract_text | No | ||
| follow_redirects | No |