Broadcast to local HTTP server
Currently, TPV allows to post json data to an HTTPS endoint but if I want to post to a local server and use HTTP, it always gives an error (red x).
I've noticed that if I post to https://some_local_ip and click test, after a few seconds it returns an error. Then, if I change to http://some_local_ip it immediately starts posting requests. This works until I close TPV. When I reopen the app, I need to repeat the process (HTTPS, test, wait for error, change to HTTP).
Can the code be reviewed/changed to always allow posting to local HTTP endpoints?
Also, can the braking % be added to the json data?
Many thanks for your suggestion and support for TrainingPeaks Virtual.
I'm delighted to say that the braking data % is now available in the JSON output, exactly as you suggest.
The limitation of HTTPS only (not HTTP) is a security feature of the underlying Unity engine that TrainingPeaks Virtual is built on. It is unlikely that we'd therefore be able to enable HTTP endpoints.