[Info] Port of libcurl to ESP32
Posted: Fri Nov 04, 2016 9:41 pm
I had a need to make REST calls from a C ESP32 program and asked myself how I would do this on Linux? One of the more common patterns is to use "libcurl" so I had a go at attempting to port this to an ESP-IDF component. For the most part, it worked. At least to the extent that I can make a simple REST request. The "libcurl" also supports a wide variety of other protocols that I haven't tested out yet ... but this is a start.
The component can be found on github here ...
https://github.com/nkolban/curl-esp32
If we see value in this, we can perhaps collaborate on a richer port in terms of testing and function. This would include enabling SSL and other protocols. I want to get this out as quickly as possible so if you wish to use and have issues, don't hesitate to post here and I'll try and assist as quickly as I can.
later ... Just tested FTP as a URL, worked just fine!
The component can be found on github here ...
https://github.com/nkolban/curl-esp32
If we see value in this, we can perhaps collaborate on a richer port in terms of testing and function. This would include enabling SSL and other protocols. I want to get this out as quickly as possible so if you wish to use and have issues, don't hesitate to post here and I'll try and assist as quickly as I can.
later ... Just tested FTP as a URL, worked just fine!