Please craft the API using MQTT instead of HTTPS-based REST APIs.