#!/bin/sh
#
# Sample for MQTT client object / MQTT broker address.
# This is a sample demonstrating how to set the MQTT broker address.
curl --digest -u admin:1234 -H "X-CSRF: x" -X PUT -H "Content-type: application/json" -H "Accept: application/json" --data-binary "\"vaey.example.com\"" "http://192.168.0.100/restapi/mqtt/broker_address/"
# Sample result:
# null