http_client

Example of the component plasmapper/pl_http v1.1.0

HTTP/HTTPS Client Example

  1. Internal ESP Wi-Fi station interface is created and initialized.
  2. The Wi-Fi station SSID and password are set from project configuration (can be changed in Example menu of Project Configuration).
  3. Two clients (for http://example.com and https://example.com) are created and initialized.
  4. The Wi-Fi station is enabled.
  5. After the interface gets an IP address both clients execute GET requests and the results are printed.

To create a project from this example, run:

idf.py create-project-from-example "plasmapper/pl_http=1.1.0:http_client"

or download archive (~2.28 KB)