Search found 2 matches
- Sat Jun 11, 2022 8:26 am
- Forum: ESP32 Arduino
- Topic: ESP32 http post request using Authorization Bearer
- Replies: 2
- Views: 7727
Re: ESP32 http post request using Authorization Bearer
Problem solved. Below is the updated code. Hope it will save someone's time. #include <WiFi.h> #include <HTTPClient.h> #define TIME_POST_DATA 5000 // In miliSec const char* ssid = "mySSID"; const char* password = "myPass"; //Your Domain name with URL path or IP address with path const char* serverNa...
- Wed May 11, 2022 6:17 am
- Forum: ESP32 Arduino
- Topic: ESP32 http post request using Authorization Bearer
- Replies: 2
- Views: 7727
ESP32 http post request using Authorization Bearer
Hi, I am trying to make an HTTP Post request using Arduino for ESP32. I am using the HTTPClient library to make the Post request in which I have to use the Authorization Bearer token. Below is my code. //Your Domain name with URL path or IP address with path const char* serverName = "http://domain.c...