Toolkdeps asset
kdeps-tools-http_request
v1.0.0Make an HTTP request to a URL. Returns response status, headers, and body. Use for calling APIs, fetching web content, or interacting with external services. Requires: url. Optional: method (default GET), headers, data (JSON body), timeout.
Install
A kdeps asset: kdeps installs it on first run and updates it without a new release.
kdeps update tools/http_request
Pin a version with kdeps update tools/http_request@<version>.
Contents
Make an HTTP request to a URL. Returns response status, headers, and body. Use for calling APIs, fetching web content, or interacting with external services. Requires: url. Optional: method (default GET), headers, data (JSON body), timeout.
| Parameter | Type | Description |
|---|---|---|
| data | object | Request body as JSON (for POST/PUT/PATCH) |
| headers | object | HTTP headers as key-value pairs |
| method | string | HTTP method: GET, POST, PUT, DELETE, PATCH. Default: GET |
| timeout | string | Request timeout, e.g. '30s'. Default: 30s |
| url * | string | The URL to request |
version: 1.0.0
description: 'Make an HTTP request to a URL. Returns response status, headers, and body. Use for calling APIs, fetching web content, or interacting with external services. Requires: url. Optional: method (default GET), headers, data (JSON body), timeout.'
parameters:
data:
type: object
description: Request body as JSON (for POST/PUT/PATCH)
headers:
type: object
description: HTTP headers as key-value pairs
method:
type: string
description: 'HTTP method: GET, POST, PUT, DELETE, PATCH. Default: GET'
timeout:
type: string
description: 'Request timeout, e.g. ''30s''. Default: 30s'
url:
type: string
description: The URL to request
required: true
Versions
| Version | Published | Status |
|---|---|---|
| 1.0.0 | 10/11/2026 | active |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 1.0.0
- Published
- 10/11/2026
Tags
kdepstool