skgandikota/FetchUrl
FetchUrl action performs a generic Fetch API request and returns the response code, response body, and headers.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| url | The URL to fetch. | yes | — |
| method | The HTTP method to use (GET, POST, PUT, DELETE, PATCH, etc.) | no | GET |
| headers | A JSON string of headers to include in the request. | no | {} |
| body | The body to send with the request (ignored for GET and HEAD). | no | "" |
| timeout | Request timeout in milliseconds (0 for no timeout). | no | 30000 |
Outputs
| name | description |
|---|---|
| status | The HTTP response status code. |
| headers | The HTTP response headers as a JSON string. |
| body | The HTTP response body. |