Hi
IS there any lib or sample code that alows to call Post verb passing json?
Thanks a lot
Any lib for invoking REST API?
Re: Any lib for invoking REST API?
The relatively new HTTP Client library is likely going to be of use to you ... see:
http://esp-idf.readthedocs.io/en/latest ... lient.html
Also search the forum for previous discussions on using libcurl.
The ESP-IDF also comes bundled with a version of cJSON ... see:
https://github.com/espressif/esp-idf/tr ... nents/json
http://esp-idf.readthedocs.io/en/latest ... lient.html
Also search the forum for previous discussions on using libcurl.
The ESP-IDF also comes bundled with a version of cJSON ... see:
https://github.com/espressif/esp-idf/tr ... nents/json
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: Any lib for invoking REST API?
Thanks!
esp_http_client seems to be the right thing
Now I am having a small big problem:
When using platformio, how to include the .h file?
I tryied
#include "esp_http_client.h"
and
#include "esp_http_client/include/esp_http_client.h"
but without success
Thank you
esp_http_client seems to be the right thing
Now I am having a small big problem:
When using platformio, how to include the .h file?
I tryied
#include "esp_http_client.h"
and
#include "esp_http_client/include/esp_http_client.h"
but without success
Thank you
Who is online
Users browsing this forum: No registered users and 83 guests