0.0.4 • Published 1 year ago

@enschedule-fns/fetch v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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.

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago