I am working on an IoT project which uses GRPS-enabled sensors to report the temperature of whatever they’re attached to.
These sensors are only capable of HTTP POST, they cannot use HTTPS. I have no influence over the sensors, so I can’t do anything about them specifically; unfortunately.
The sensors only submit a “device_id”, timestamp and temperature reading. There is no risk to this data being captured by third-parties and spoofing is not a concern either. So while it’s unfortunate that the sensors don’t support HTTPS, it’s not considered a risk so much as an annoyance.
I’ve created a CloudFlare Worker to accept the HTTP POST messages from the sensors, it does some text manipulation then passes it along to another third-party API.
CloudFlare workers are almost perfect for this, but I’m not aware of any means by which to enable plain-text HTTP. I’m currently using a self-hosted nginx reverse proxy to expose regular HTTP, for testing - but this isn’t feasible in the long term.
Is there a way to enable plain-text HTTP on Worker?