I have a few Ruuvi tags and so far use the Ruuvi station Android app to read their measurements.
I would like to use the gateway feature of the app to periodically send measurements to my home automation system, which can receive data through HTTP POST requests.
Unfortunately, the REST API of the home automation requires POST requests to have “Content-Type: text/plain” set in the request header. Requests with “application/json” are rejected with “HTTP Error 415 Unsupported Media Type”.
My question: Is is possible to change the content-type header that the app sends with the gateway call?
Thank you very much!