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?
1
vote