00:02 Fetch API is the easiest way to make HTTP requests in JavaScript 00:58 The Fetch API allows us to fetch user data from an API and display it on our web page. 01:56 The Fetch API in JavaScript allows making HTTP requests. 02:50 Using Arrow function syntax simplifies the code and makes it cleaner. 03:51 The Fetch API in JavaScript allows for making POST requests to add new posts. 04:47 Convert the data into string format using JSON.stringify 05:42 Making HTTP requests using the Fetch API. 06:44 Fetch API in JavaScript allows us to make HTTP requests and handle responses easily.
very simple , very effective , thankyou very much . I was having alot of trouble in understanding post method , but i got it this time almost . thanks alot
You did an amazing job at simplifying this. I watched a lot of tutorials on this to understand fetch, but this was by far the cleanest explanation. Anyone I know looking to learn fetch, I'll refer them here to at least get started understanding.
By adding content-type we are specify the content we are sending to server is json data. So backend don't convert it again in JSON. It will reduce little work. And it's depends on server in which language it is created.
Nice tutorial. on the cheat-sheet await section... shouldn't be... const data = await res.json(); ... instead of... const data = res.json(); ... since you are dealing with a promise there too?
🤩Access My Complete React Course:- www.udemy.com/course/the-ultimate-react-course-2023-w-real-world-projects/?referralCode=993CD544A6816303D3AD
Spent 3 hours on TH-cam to understand how to get data from my spring application and then found this video. Thanks Man.
Glad to hear that❤❤❤
00:02 Fetch API is the easiest way to make HTTP requests in JavaScript
00:58 The Fetch API allows us to fetch user data from an API and display it on our web page.
01:56 The Fetch API in JavaScript allows making HTTP requests.
02:50 Using Arrow function syntax simplifies the code and makes it cleaner.
03:51 The Fetch API in JavaScript allows for making POST requests to add new posts.
04:47 Convert the data into string format using JSON.stringify
05:42 Making HTTP requests using the Fetch API.
06:44 Fetch API in JavaScript allows us to make HTTP requests and handle responses easily.
Nice❤❤
The best tutorial on fetch, just subscribed bro....
Thank you so much for your support. Really grateful for that❤❤
very simple , very effective , thankyou very much . I was having alot of trouble in understanding post method , but i got it this time almost . thanks alot
Thanks for watching❤❤
you did a good job bro... simply understanding your methods...
❤️😇
You are extremely good with your explanation and it makes your content super simple to comprehend. Thank you bro.
Thanks for your support brother. Really grateful for that
❤😻
10th Feb 2024 at 11.30 pm. Good and clear explanation. Thanks
❤❤❤
You did an amazing job at simplifying this. I watched a lot of tutorials on this to understand fetch, but this was by far the cleanest explanation. Anyone I know looking to learn fetch, I'll refer them here to at least get started understanding.
Thank you so much for your support. Grateful for that❤❤❤
Your explaining is the simplest and the strategy on how to simplify the methods is also good for me.
Thanks for your feedback, Really grateful for that❤❤❤
I really learned a lot with this single video. Thanks for post this video.
Glad to hear that. Thanks for watching❤❤❤
Awesome ❤ the way you explain is so beautiful.
Thank you so much.
Good Bless You
Thank you so much. Really glad that❤❤❤
4:58 pm 29 feb got everything loud and clear thanks
Thank you so much❤❤❤
Thank you for explaining the concept in a very simple and clear way.
❤❤❤
Bro you're explaining it very well... keep up the good work 👍
Thank you so much for your support brother. Grateful for that❤❤
Thank you so much! The video is super clear!
Thanks for your support❤❤
Thank you for this, it was clear.
❤❤
Thank for this tutorial it's super clear✨
❤❤❤
I love the channel name and thank you so much for this information 🙌
Thank you! Grateful for that❤❤
I like your explanation skills bro,
Understand well thank you
Thank you so much for your support. Grateful for that❤❤❤
Great video, You explained it perfectly and allowed me to learn something new. Have a great day!
Thanks for your support. Grateful for that. Have a nice day!!❤❤
Simple but cristal clear 👌
Thank you so much❤❤
Thank you so much ❤❤❤❤🎉🎉🎉🎉🙏🙏🙏
❤❤❤
why we add header: "content-type": "application/json" ????
please explain and is it necessary to add or not???
By adding content-type we are specify the content we are sending to server is json data. So backend don't convert it again in JSON. It will reduce little work. And it's depends on server in which language it is created.
easy to understand thank you bro
❤❤❤
nicely explained.
Thanks for your support❤❤
why don't you use async await?
Nice tutorial. on the cheat-sheet await section... shouldn't be... const data = await res.json(); ... instead of... const data = res.json(); ... since you are dealing with a promise there too?
Yes, we need await there too
@@CodeBlessYou Thank you for your great tutorials. The way you explained fetch is the best one I've seen.
❤❤❤
@@pedllz
Nice explain sir
❤❤
good job, thanks
❤❤❤
Thank you
❤❤❤
Thanks
can I print the data instead of console.log statement
Yes you can
thanks you
❤❤❤
thanks bra🙏🙏🙏
❤❤
i like your channel name
Thank you❤❤❤
Just Subscribed. You know right?
Yes😄😄
Can someone help me out with headers {" content-type: " application/json""}?
By this we can specify which type of content we are sending to server.
Sir hindi me tutorial banaya kato
I will
Is this a AI voice
No It's my original voice🙂😅
.then method is not working in this reason i am skip this video
maybe because fetch method is not returning promise.