Hello!
This message for the Automate developer. Is it possible to get the valid JSON response for the Cloud Message Send request?
I mean, we have this endpoint /automate/cloud/message (
https://llamalab.com/automate/cloud/) where we can send cloud messages to the devices. But, in the response, we have the HTML code with simple H1 headings. It's not so compatible for me, my code expects the valid JSON (application/json) but get the html instead.
The simple
{
"success": true
}
will be enough.
So, please review the way you responding the /automate/cloud/message requests.
Thank you!