/http-utils | Type: Embedded | PCID required: No
Make HTTP requests to public APIs or through user-configured custom integrations. Supports GET, POST, PUT, PATCH, and DELETE methods.
Tools
| Tool | Description |
|---|---|
http-utils_request | Make an HTTP request |
http-utils_request
Make an HTTP request to a public API or through a custom integration. For public APIs, provide the full URL. For custom integrations, provide a path along withPCID and service_key.
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
url | string | Yes | — | Full URL for public APIs or path for custom integrations |
PCID | string | No | — | Connection ID for custom integrations |
service_key | string | No | — | Service key (required when using PCID) |
method | string | No | "GET" | HTTP method — "GET", "POST", "PUT", "PATCH", or "DELETE" |
body | object or string | No | — | Request body (for POST, PUT, and PATCH requests) |
headers | object | No | — | Custom request headers (for public API calls only) |
query_params | object | No | — | Query parameters (URL-encoded automatically) |
| Field | Type | Description |
|---|---|---|
status | number | HTTP status code |
statusText | string | HTTP status text |
data | any | JSON-parsed response body |
headers | object | Response headers |

