ESP32 POST JSON to api endpoint - ESP32 POST request to API endpoint

preview_player
Показать описание
ESP32 post json to api endpoint through wifi, today we will learn how to perform a post request with an esp32 and receive JSON.

All my code will be available on my Patreon page:

Links:

Sparkfun ESP32 thing

Normal ESP32 (cheaper)

Credits:

Music:
Classique - Francis Preve

Thumbnail & video icons:
ESP32 icon made by myself
Рекомендации по теме
Комментарии
Автор

Dear Mr. Asali you are the most underrated chanel on youtube xp

mohieddinekhaled
Автор

Congrats! One question my esp32 it's reset when can try post Json on API, how can I fix this?

ze_das_maquinas
Автор

Well that was easy. The documentation the team created is great, but a bit dense when you want to start with something this simple. I laughed at the length of this video, thinking how much info can be in it. But it turns out I was set at 2:08. Reminds me how great it is to be beyond the memory limitations of the old Arduino where thinking of implementing JSON was ridiculous. Indeed if you go to the Arduino forum, people will still scoff at you. That said, will run my board / API for a couple days straight and see if there are memory leaks :)

robsinHL
Автор

can we use the same way to send files from esp32 (SPIFFS file) to the API endpoint?

achmadarifmunaji
Автор

hi there, I have one requirement where I need esp32 code to handle incoming JSON data. Another system can send data at any time so that esp32 should be able to handle listen that data. Can you please help me to understand this scenario? I have seen your GET and POST video, but it seems It doesn't suit for my requirement.

neelmota
Автор

The people who dislike this are just bad at understanding ESP32 post json to api endpoint.


fkin lsrs

nylax
Автор

I dont know why but a cant add the field "title", Im not seeing it on the serial monitor

TheMegatron
Автор

I get the following error when compiling the script. 'JSON_OBJECT_SIZE' was not declared in this scope
Any ideas what might be wrong?

devopssimon
Автор

Please how i can send the data to json file on server

kendouciabdelaliilyas
Автор

Anyone knows why I get -5 response code?

szabolcsvarga
Автор

And you expect to pay $ 5 on the platform you uploaded code that is no more than 100 lines?

НиколайКръстев-съ