callURL v1.0.9

callURL Sensor


This sensor calls an URL using the axios library.

States
  • Success: Successfuly called url
  • Failure: Failure when calling url
  • Error: Failure in sensor

Raw data
  • response: axios response object

Properties
  • url
  • method: GET, POST, PUT, DELETE, PATCH, OPTIONS, HEAD
  • body (optional): body of request in JSON format
# Required properties: - `url` - `method` - `body`

States:

  • Success
  • Failure

Raw data:

  • response (object)