ESP32 Arduino: HTTP POST Requests

preview_player
Показать описание
This video explains how to perform HTTP POST Requests using the ESP32 and the Arduino core.

You can check a written tutorial with all the code at my blog:

HTTP GET Requests tutorial:

Connecting to WiFi explained in more detail:

Plenty of ESP32 tutorials at my blog:
Рекомендации по теме
Комментарии
Автор

Thanks for this tutorial, was excactly what I was searching for. Keep up the good work lad

LyCrIsLovexD
Автор

A great job. Thank you very much.
You show difficult topics in a simple way that everyone can better understand it and learn it faster. There are not many examples in books. They are usually too complicated for novices and hobbyists. You are doing a very good job, making the world better. God bless you! Maybe someday I will be able to repay you for this lesson - I hope. Best Regards.

sylwiachaber
Автор

Hi, how do I get data from the ESP32 to show on a website? Is the post method also the right way? Cause I get the right payload back but no data is shown on the webpage!

justy
Автор

i have this error when sending httprequest : error -1

BouzidiKamel-xi
Автор

Great Work. Can you tell me how to send image data over server ?

gauravgalbal
Автор

can I post on every website or I just need to create a server ?

GiovanniGuizzardi
Автор

How I can send data to web page api but with an authorization token?

duartecancela
Автор

how about sending data every 10ms instead of 10 seconds ? Would that work

alphaO
Автор

Please i need to send data to node js server from esp32 i’m stuff

sidhomamine
Автор

90% of the time it posts successfully. Other 10% of the time is shows http error -1. How do I fix this issue?
I have tried with and without persistent connection. The issue still exists.

Another thing is that sometimes it takes upto 10sec to get a http response code, even when I set the http timeout to 2 sec. How do I stop the request if no response is received within 2 seconds? I have tried using millis() method but since the http.post is blocking, it doesn't work.

Did you experience these issues? If yes how did you fix them?

salamunkoulam
Автор

Thank you ! It helped me a lot in solving a bug I had in my code. Cheers!

luismorales
Автор

can we post files from SPIFFS on esp32?

achmadarifmunaji
Автор

Great video, do you have tutorial where you posting photo from ESP-CAM ?

radkovarchola
Автор

If I want to host the website locally can I just use http.begin(WiFi.localIP());?

rangeispow
Автор

hello thanks for your video. How do I send json data to the server. Do I have to change the content-type to json and how do I send json formatted data to post method.

jannatulnayeem
Автор

how to control and led through http post

kabileshr
Автор

how to upload .txt files to http servers using esp 32

akshaypohankar
Автор

i didn't understand! How can i use it? Where? When? How?

renanpissarratessarolo