Sending JSON data with the Fetch API - JavaScript Tutorial

preview_player
Показать описание

Support me on Patreon:

For your reference, check this out:

Follow me on Twitter @dcode!

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
Рекомендации по теме
Комментарии
Автор

damn you have awesome videos, after watching maybe one hour of your tutorials have clarified many confusing new JS feature and completely help me fully understand the whole concepts.. now only a few lines of code are needed to accomplish the same results as hundreds of lines previously done for my older projects when making asynchronous functions this new fetch api really makes everything so much easier and more clean...

bjornleonhenry
Автор

i tried the method but there one thing that i don't understand. why the page receive.php show the value NULL when we var_dump($data)?

pierrelorand
Автор

Thank you very much! you helped me a lot!

benjaminmq
Автор

Thanks! I think isn't possible to be more objective then it.

adrianoqwe
Автор

Why are there two then() used. Could you not do console.log(response.text()) in the first then, and eliminate the second then?

webosm
Автор

hi dcode thanks but i've been trying to send a signup form via json and its failing

okekunleoluwatobiloba