Search found 4 matches

by punee995
Sat Dec 23, 2017 4:31 pm
Forum: General Discussion
Topic: parse JSON from HTTP header
Replies: 9
Views: 24337

Re: parse JSON from HTTP header

http server runs without a problem but i need to extract data from POST Header did not found way to do that here is my post request and i want " uname " and " name ": POST /connect.json HTTP/1.1 Host: 192.168.4.1 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57...
by punee995
Thu Dec 21, 2017 5:44 am
Forum: General Discussion
Topic: parse JSON from HTTP header
Replies: 9
Views: 24337

Re: parse JSON from HTTP header

Hi, There is nghttpd component which is provided as submodule into ESP32 IDF SDK. So, you can use it as HTTP server and also you can use cJSON library which is also provided as component into ESP32 IDF SDK. So Both components are available into older and latest ESP32 IDF. Let me know.if you need an...
by punee995
Tue Dec 19, 2017 2:22 pm
Forum: General Discussion
Topic: parse JSON from HTTP header
Replies: 9
Views: 24337

Re: parse JSON from HTTP header

i'm using lwip to create HTTP server on my esp32. i want to save "ssid" and "password" in flash. if i browse here [url]http://esp32_ip_address/input.json?ssid=test&password=12345678[/url] from my computer and esp32 give me this HTTP GET Response in my serial console. GET [b]/input.json?ssid=test&pas...
by punee995
Tue Dec 19, 2017 8:30 am
Forum: General Discussion
Topic: parse JSON from HTTP header
Replies: 9
Views: 24337

parse JSON from HTTP header

i'm passing http://192.168.0.104/input.json?ssid=test&password=12345678 from my browser and esp32 as a server receives http header.. GET /input.json?ssid=test&password=12345678[/b] HTTP/1.1 Host: 192.168.0.100 Connection: keep-alive Cache-Control: max-age=0 User-Agent: Mozilla/5.0 (Windows NT 6.1; W...