fetch-url
Retrieve web content from a URL using HTTP methods like GET, POST, PUT, and DELETE. Supports custom headers, request body, timeout, and response formats. Built with Node.js undici library.
Instructions
Fetch content from a URL
Input Schema
Name | Required | Description | Default |
---|---|---|---|
body | No | Request body for POST/PUT/PATCH requests | |
followRedirects | No | Whether to follow redirects | |
headers | No | HTTP headers | |
method | No | HTTP method | GET |
responseType | No | How to parse the response | text |
timeout | No | Request timeout in milliseconds | |
url | Yes | URL to fetch |