Http request, header and command, spaces

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Http request, header and command, spaces

#1 Post by riker1 » 25 Oct 2018, 16:51

Hi

sending http requests.

Code: Select all

http://192.168.0.147/control?cmd=gpio%2C5%2C0

Code: Select all

http://192.168.0.147/tools?cmd=gpio%2C5%2C0
Having some questions.

Do I have to send escaped code for
=
space
comma, etc?

do I have to set a header? how?

di i have to use control or Tools

Thanks

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Http request, header and command, spaces

#2 Post by grovkillen » 26 Oct 2018, 19:40

https://www.letscontrolit.com/wiki/inde ... _Reference

Just send the commas and the browser will take care of the conversion.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: Http request, header and command, spaces

#3 Post by riker1 » 28 Oct 2018, 13:23

Hi
I am also using httprequest an android tool.

Do not know if this is converting blanks, commas, etc.

so what needs to be send to be sure?

better to escape / encode all blanks, commas, ; = ?

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests