Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

bootme-request

0.0.29 • Public • Published

bootme-request

Task to fire a HTTP Request

Usage

registry.addTask(
  new HttpRequestTask('iss_position').setConfig({
    method: 'GET',
    contentType: 'json',
    url: 'http://api.open-notify.org/iss-now.json'
  })
)

Result

  • Based on the contentType property.

Caveats

Don't forget to register your onRollback hook to rollback the operation.

Install

npm i bootme-request

DownloadsWeekly Downloads

5

Version

0.0.29

License

ISC

Last publish

Collaborators

  • avatar