Command Type
Command Type ID: 1003Parameters
ProxySettings
Usage Examples
Basic GET Request
POST with JSON Body
Related Commands
- HTTP Request - cloudscraper-based single request
- HTTP Parallel Request - Got - Got-based parallel requests
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Execute a single HTTP request using the Got library
| Parameter | Type | Description | Required |
|---|---|---|---|
| url | string | The target URL | Yes |
| verb | string | HTTP method: "GET", "POST", "PUT", "DELETE", "PATCH" | Yes |
| contentType | string | Payload type: "JSON" or "form-data" | Yes |
| timeout | number | Timeout in milliseconds | Yes |
| body | object | Request body for POST/PUT | No |
| bypassStatusCode | Array of number | Status codes to bypass default error handling | No |
| headers | object | HTTP headers | No |
| isHttp2 | boolean | Enable HTTP/2 for the request | No |
| proxy | ProxySettings | Proxy settings | No |
| proxyConnectionTimeout | number | Timeout for proxy connection in milliseconds | No |
| Field | Type | Description | Required |
|---|---|---|---|
| host | string | Proxy server hostname | Yes |
| port | string | Proxy server port | Yes |
| protocol | string | Proxy protocol (e.g., http) | Yes |
| auth | object | Proxy authentication credentials | No |
| link | Link | Link proxy configuration | No |
| linkTunnel | LinkTunnel | Link tunnel configuration | No |
{
"command": "http-request-got",
"params": {
"url": "https://api.example.com/data",
"verb": "GET",
"contentType": "JSON",
"timeout": 10000
}
}
{
"command": "http-request-got",
"params": {
"url": "https://api.example.com/submit",
"verb": "POST",
"contentType": "JSON",
"timeout": 15000,
"body": { "query": "live_data" },
"headers": { "Authorization": "Bearer %{API_TOKEN}" }
}
}