ESP32 POST JSON to api endpoint - ESP32 POST request to API endpoint
HTML-код
- Опубликовано: 11 июл 2024
- ESP32 post json to api endpoint through wifi, today we will learn how to perform a post request with an esp32 and receive JSON.
ESP32 GET JSON: • ESP32 GET JSON from AP...
API: jsonplaceholder.typicode.com/...
All my code will be available on my Patreon page:
/ 33775118
www.patreon.com/asali
Links:
Sparkfun ESP32 thing
Affiliate link: amzn.to/2SyQjsm
Normal link: goo.gl/abAiDf
Normal ESP32 (cheaper)
Affiliate link: amzn.to/2GTCHGS
Normal link: goo.gl/aNXDqi
Credits:
Music:
Classique - Francis Preve
Thumbnail & video icons:
Licensed by creativecommons.org/licenses/b...
Arrow icon by www.flaticon.com/authors/lyolya
ESP32 icon made by myself
it works smooth, thanks
Dear Mr. Asali you are the most underrated chanel on youtube xp
Can't wait for the next one
Me neither!
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 :)
leuke video!
Dankje!
nice! thanks
You're welcome!
can we use the same way to send files from esp32 (SPIFFS file) to the API endpoint?
You’re alive!
Ofcourse I am! Why wouldn't I be??
hello mike
@@nylax4396 Dag mike, Ah nee ik ben Mike
@@vantasy5335 ik ben nen stukadoooooooooooooor
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.
I dont know why but a cant add the field "title", Im not seeing it on the serial monitor
Please how i can send the data to json file on server
Anyone knows why I get -5 response code?
I get the following error when compiling the script. 'JSON_OBJECT_SIZE' was not declared in this scope
Any ideas what might be wrong?
Sorted it. I had not installed the ArduinoJson library in the library manager. After doing that and then including it in the script, everything worked OK.
Happy to hear you sorted it out!
The people who dislike this are just bad at understanding ESP32 post json to api endpoint.
fkin lsrs
nice new font btw!
Thanks brooo
Or they just don’t want to send it insecurely via http.
And you expect to pay $ 5 on the platform you uploaded code that is no more than 100 lines?
All the code is visible in the video, the $5 is to support me