Register URI handler for 50 different paths in httpd server example

amehta
Posts: 22
Joined: Sat Feb 17, 2018 11:14 am

Register URI handler for 50 different paths in httpd server example

Postby amehta » Thu Oct 18, 2018 11:11 am

Hi I have more than 50 different URIs on my http server(written using netconn API). I want to port that to HTTP Server given in examples. I would basically want to get URI, params, body and method extracted and sent to my common function(already written) and then respond from there.

I want to shift to httpd server as they have session management in built to it which I would like to utilize. Any working example would be very much appreciated.

Thanks,


amehta
Posts: 22
Joined: Sat Feb 17, 2018 11:14 am

Re: Register URI handler for 50 different paths in httpd server example

Postby amehta » Fri Oct 19, 2018 5:21 am

Hi @chegewara, thanks for the link. Can you also help me out on https://esp32.com/viewtopic.php?p=32209#p32209 issue. Thanks again

chegewara
Posts: 2375
Joined: Wed Jun 14, 2017 9:00 pm

Re: Register URI handler for 50 different paths in httpd server example

Postby chegewara » Fri Oct 19, 2018 8:05 am

Sorry, i am ble guy. esp_http_client is new to me.

Who is online

Users browsing this forum: Google [Bot], markkuk and 320 guests