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.

Readme

Keywords

Package Sidebar

Install

npm i bootme-request

Weekly Downloads

0

Version

0.0.29

License

ISC

Last publish

Collaborators

  • starptech