Forward config events to a HTTP webhook
DEPRECATION WARNING
This feature has been replaced by the new fowarding configuration.
To enable config forwarding to HTTP webhooks, update your Meshblu device to contain the following properties:
{
meshblu: {
configHooks: [
{
"url":"http://requestb.in/1mw4ws21",
"method": "POST"
}
]
}
}
Security Warning
All config events emitted by your device or sent to your device will be sent to the webhook 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: {
configHooks: [
{
"url":"http://requestb.in/1mw4ws21",
"method": "POST",
"generateAndForwardMeshbluCredentials": true
}
]
}
}