PostToHTTP

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
wiredcharlie
Normal user
Posts: 57
Joined: 28 Sep 2020, 13:58

PostToHTTP

#1 Post by wiredcharlie » 12 Feb 2023, 12:55

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

User avatar
iron
Normal user
Posts: 221
Joined: 24 Sep 2016, 08:37
Location: Greece
Contact:

Re: PostToHTTP

#2 Post by iron » 12 Feb 2023, 13:30

-D

User avatar
Ath
Normal user
Posts: 3415
Joined: 10 Jun 2018, 12:06
Location: NL

Re: PostToHTTP

#3 Post by Ath » 12 Feb 2023, 13:32

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).
/Ton (PayPal.me)

wiredcharlie
Normal user
Posts: 57
Joined: 28 Sep 2020, 13:58

Re: PostToHTTP

#4 Post by wiredcharlie » 12 Feb 2023, 15:16

Thanks!

This worked:
PostToHTTP,http://192.168.1.102/reboot.json

ESP_Easy_mega_20230204_normal_ESP8266_4M1M

https://github.com/letscontrolit/ESPEas ... /541875390

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests