HTTP Parser

imtiaz
Posts: 106
Joined: Wed Oct 26, 2016 1:34 am

HTTP Parser

Postby imtiaz » Thu Nov 10, 2016 11:09 pm

Hi ,

Does anyone have an example of using the HTTP Parser --> http_parser.c.

or is there another way to parse raw HTTP ..

Any help appreciated,

Thanks
imtiaz

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: HTTP Parser

Postby kolban » Fri Nov 11, 2016 3:01 am

The HTTP Parser I use is "Mongoose". Search on this forum for discussion on that. Mongoose will receive incoming HTTP requests and execute a callback function with the content of the HTTP request parsed out. It will include the HTTP method, URL, path part, query expressions, HTTP headers and payload for a PUT/POST request.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

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