Hi,
We had started to look nghttpd2 component and tested http server with all GET, POST, PUT, DELETE requests which are working fine without any issue.
Now, we had requirement to make it same for HTTP Client.
So, Does anyone has any examples or links for that?
In short, we need example source or application for HTTP Client which should be running into ESP32 and can get data and other respective services from server.
Need help for HTTP Client Porting
Need help for HTTP Client Porting
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Need help for HTTP Client Porting
Means, do you need nghttp2 component which we are using?WiFive wrote:https://github.com/loboris/ESP32_curl_example
Can you publish your nghttp2 server component?
Or Application code with parser which we are using?
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Need help for HTTP Client Porting
Just wondering if you built server based on nghttp2 and package it as reusable component
Re: Need help for HTTP Client Porting
Yes. We already used nghttpd2 as server and able to serve HTTP GET/POST/PUT/DELETE using parser.WiFive wrote:Just wondering if you built server based on nghttp2 and package it as reusable component
Now, we need to implement client instead of server for that.
Please send me some reference links or informations for that if you had any
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Need help for HTTP Client Porting
You should publish your server on GitHub as a idf component
Here is curl client example from your friend loboris https://github.com/loboris/ESP32_curl_example
Here is curl client example from your friend loboris https://github.com/loboris/ESP32_curl_example
Re: Need help for HTTP Client Porting
There is also much simpler esp-request library.
Searching the GitHub can always give you some useful information.
Searching the GitHub can always give you some useful information.
Re: Need help for HTTP Client Porting
@Ritesh, would you mind providing the output of your 'make size-components'? I'm interested in the overhead in terms of size of a nghttpd server to compare against the httpd server I'm more familiar with, libesphttpd.
Re: Need help for HTTP Client Porting
Ok. Will send details w.r.t. component size tomorrow morningcmorgan wrote:@Ritesh, would you mind providing the output of your 'make size-components'? I'm interested in the overhead in terms of size of a nghttpd server to compare against the httpd server I'm more familiar with, libesphttpd.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Need help for HTTP Client Porting
Thanks Loboris,loboris wrote:There is also much simpler esp-request library.
Searching the GitHub can always give you some useful information.
Will check it and get back to you if any query regarding that.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Who is online
Users browsing this forum: No registered users and 139 guests