@enschedule-fns/fetch
v0.0.4
Published
Usage: ```json { "url": "http://localhost:3000", "method": "POST", "headers": { "Content-Type": "application/json" }, "body": "{\"payload\": \"ping\"}" } ```
Downloads
8
Maintainers
Readme
Enschedule fetch function
Usage:
{
"url": "http://localhost:3000",
"method": "POST",
"headers": {
"Content-Type": "application/json"
},
"body": "{\"payload\": \"ping\"}"
}Provide HTTP parameters as data to send a request. It will be sent by the built in fetch function. The response status, headers and body will be logged to stdout.
