Examples¶
All examples are available in the examples/ directory and can be opened directly from the Arduino IDE via File → Examples → ESP32-HTTP-Client.
| Example | Description |
|---|---|
| Simple GET | Basic data fetching, binding multiple fields from a JSON response. |
| POST Request | Sending a JSON payload and reading the created resource's ID. |
| Nested JSON | Extracting deeply nested fields using dot-notation paths. |
| Array JSON | Addressing specific elements of a JSON array by index. |
| Raw JSON | Capturing entire objects or sub-arrays into an Arduino String. |
| PUT & DELETE | Updating and deleting remote resources. |
| Unix Timestamp | Fetching a long Unix timestamp from a time API. |
| Custom Port | Connecting to a server running on a non-standard port. |