An ESP-IDF component for Physical Computing
Purpose
An HTTP client for ESP32 systems.
This HTTPClient is a copy of the HTTPClient from sachin42/idfcomponents.
The only change is that now it is allowed to use method addHeader to set header “Authorization”.
The original code can be found in GitHub: https://github.com/sachin42/idfcomponents.git in directory HTTPClient.
How it is done
You need to include HTTPClient.h.
Now the HTTPClient class can be used.
Where to find it
http_client is published on the ESP Registry at https://components.espressif.com/components/elrebo-de/http_client.
The source code can be found at https://github.com/elrebo-de/http_client.
How to use it
As an ESP-IDF component http_client must be included into idf_component.yml as a dependency. As usual this can be done by executing this command:
idf.py add-dependency "elrebo-de/http_client^1.0.0"
Now you can include HTTPClient.h and use the HTTPClient class in your program.

Leave a Reply