Forward Messages to a HTTP webhook

🚧

DEPRECATION WARNING

This feature has been replaced by the new fowarding configuration.

To enable message forwarding to HTTP webhooks, update your Meshblu device to contain the following properties:

{
  meshblu: {
    messageHooks: [
      {
        "url":"http://requestb.in/1mw4ws21",
        "method": "POST"
      }
    ]
  }
}

❗️

Security Warning

All messages sent to your device will be sent to the webhooks listed.

Forward Meshblu Credentials

Generate a one-time Meshblu token and send it to the webhook. Sent as an HTTP header Authorization: Bearer <base64 encoded string>

❗️

Security Warning

This will send a Bearer token authorizing the recipient to access and modify your meshblu device.

{
  meshblu: {
    messageHooks: [
      {
        "url":"http://requestb.in/1mw4ws21",
        "method": "POST",
        "generateAndForwardMeshbluCredentials": true
      }
    ]
  }
}