I'm trying to do the equivalent of:
curl -X POST http://192.168.1.102/reboot.json
I tried this in Tools-Command
PostToHTTP,http://192.168.1.102,,reboot.json
Command Output
Command unknown: PostToHTTP,http://192.168.1.102,,reboot.json
Does this mean that the build I'm using doesn't include PostToHTTP?
(ESP_Easy_mega_20221224_normal_ESP8266_4M1M)
I looked at:
https://espeasy.readthedocs.io/en/lates ... mmand.html
Help appreciated,
Tony
PostToHTTP
Moderators: grovkillen, Stuntteam, TD-er
Re: PostToHTTP
That release doesn't have the PostToHTTP command included, as it was merged only recently. Download a recent Github Actions build to use that command.
NB: We are planning to have a new official release, probably in the upcoming week (but no official ETA).
NB: We are planning to have a new official release, probably in the upcoming week (but no official ETA).
/Ton (PayPal.me)
-
- Normal user
- Posts: 57
- Joined: 28 Sep 2020, 13:58
Re: PostToHTTP
Thanks!
This worked:
PostToHTTP,http://192.168.1.102/reboot.json
ESP_Easy_mega_20230204_normal_ESP8266_4M1M
https://github.com/letscontrolit/ESPEas ... /541875390
This worked:
PostToHTTP,http://192.168.1.102/reboot.json
ESP_Easy_mega_20230204_normal_ESP8266_4M1M
https://github.com/letscontrolit/ESPEas ... /541875390
Who is online
Users browsing this forum: No registered users and 20 guests