ESP32 - HTTPS Request

ESP32 can play a role as a web client to make HTTPS to a web server. Web Server can be a website, Web API or REST API, Web service ...


From a web client point of view, HTTPS are the same as HTTP, except that HTTPS encrypt data between client end server. This makes HTTPS secure.

Therefore, to learn about HTTPS, We just need to learn about HTTP first, and then lean how to encrypt data.

Learn about HTTP

Learn how to encrypt data in HTTPS

Fortunately, It is easy to modify HTTP code to make HTTPS code. It just needs to modify one line of code. In HTTP code, find the code lines specified in the table below, replace by the corresponding HTTPS code.

client.connect(server, 80) client.connectSSL(server, 443)


Note that this tutorial is incomplete. We will post on our Facebook Page when the tutorial is complete. Like it to get updated.


  • We are AVAILABLE for HIRE. See how to hire us to do your project
  • If this tutorial is useful for you, please support us to make more tutorials.
  • We spent a lot of time and effort to create the content for this tutorial, please respect our work! Please do not copy the content to share on other websites. Howerver, please feel free to share the link of this tutorial anywhere