Esp32 https server post method

Hi arduino family,I'm recently refers some esp32 http post method examples.And next step is connecting "HTTPS SERVER".So, if anyone give some examples and guide me.Thank you,

see the examples of the esp2 WiFiClientSecure library

i saw some examples and tried to run but if it is failure connection to https server

I had problem with HTTPS connection to webserver in the latest release of Arduino Core for ESP32 v2.0.2 that is based on ESP-IDF 4.4-beta1. WiFiClientSecure example was working, but on my webserver it didn't join. Only difference between both servers (domains) that I figured out was TLS version. My webserver had TLS 1.3 and 1.2 and example webserver TLS 1.2. After i degraded to Arduino Core 2.0.1 or upgraded to pre-release development v2.0.3-RC1 connnection was working without problem. Both of these cores are based on ESP-IDF 4.4 (release, not beta). Development release you can use if you import to Preferences of your Arduino IDE other .json link for development pre-releases, with standard stable .json link you will not see it in Boards manager.

Some of my HTTPS POST example that I am using in my projects:

  • Ultrasonic sensor Node using FreeRTOS with WiFiClientSecure: HTTPS POST

It is using POST request with WiFiClientSecure library. It is same program as you can run in loop without FreeRTOS. Just copy and paste HTTPS task (Task2) contents to your loop (copy without xQueueSend() function that is used for inter-task communication).

Thanks for your reply

i tried your example not working "Connection to webserver was NOT successful"

And what version of Arduino Core are you using?

Thanks for your help and i was practice your code it's working .Thanks again,... :slightly_smiling_face: