Fetch API Introduction

  Рет қаралды 495,452

Traversy Media

Traversy Media

6 жыл бұрын

In this video we are going to take a look at the fetch API for making requests and fetching resources. This is an introductory based tutorial. We will create a fetch API sandbox to get data from local resources as well as a remote API
CODE: Code for this video
www.traversymedia.com/download...
BECOME A PATRON: Show support & get perks!
/ traversymedia
ONE TIME DONATIONS:
www.paypal.me/traversymedia
COURSES & MORE INFO:
www.traversymedia.com
FOLLOW TRAVERSY MEDIA:
/ traversymedia
/ traversymedia
/ traversymedia
NEW DISCORD CHAT SERVER:
/ discord

Пікірлер: 481
@shaheryarmahmood247
@shaheryarmahmood247 6 жыл бұрын
Best thing about you is you go from A to Z in single video mostly. Thanks to u
@TraversyMedia
@TraversyMedia 6 жыл бұрын
I really try and start from scratch in every video. I see a lot of people with pre made code in the beginning and I think that really confuses people and throws them off
@vugore143
@vugore143 6 жыл бұрын
Thanks Sir
@AuthorReviews
@AuthorReviews 6 жыл бұрын
Traversy Media Brad, where is your "drop menu with pure css" video?
@tedspens
@tedspens 5 жыл бұрын
Shaheryar, you should check out his playlists here at youtube, and his courses on Udemy. You won't be disappointed. ;-)
@SoumyojitSen
@SoumyojitSen 4 жыл бұрын
​@@TraversyMedia DISCORD CHAT SERVER says the invite - discord.gg/traversymedia is "invalid or expired ". Pls provide a new link
@anold6575
@anold6575 8 ай бұрын
Six years down the line the video is still super helpful. I was struggling to fetch data, not knowing it's super easy. Thank you so much.
@BAMFponcho
@BAMFponcho 4 жыл бұрын
2 years later, and this video helped me so much. You do a very good job of explaining things we need to know. THank you
@misterjaypeasmith
@misterjaypeasmith 6 жыл бұрын
This was so helpful! So many articles give really abstract explanations. You always show how to actually use the data and get it into the DOM! Styling was a bonus too! Thanks Brad!
@CallV
@CallV 3 жыл бұрын
Still relevant in 2021, LOVE your videos Brad! I'm becoming a web developer only by following your videos and then creating my own projects from them.
@eduardopassero47
@eduardopassero47 4 жыл бұрын
Thank you very much! At first I avoided watching this video because it would take so long. But then, watching...every single minute is useful. And everything is well explained. That's how every tutorial should be. Thank you again!
@1kebastuz
@1kebastuz 6 жыл бұрын
Made so much projects using ajax, and never heard about fetch. This is so nice and clean. Thank you, Brad!
@jay-rathod-01
@jay-rathod-01 3 жыл бұрын
Bro I know Russians are intelligent no need to prove ok!😂👍
@anvarsaidov8964
@anvarsaidov8964 4 жыл бұрын
Thank you, watched it in one go, combination of a good pace and a moderate amount of info, that doesn't give you a headache.
@KelvinMutugi-ey5xf
@KelvinMutugi-ey5xf 2 ай бұрын
I can't believe this is 6 years old!! Super helpful, I've been struggling with fetch, but now u just made it easier. Also, I know now I have to learn Bootstrap, too, after tasting it in the video. Thanks
@matthewbert9988
@matthewbert9988 3 жыл бұрын
Brad, thank you for sharing this. I was having some trouble really understanding how to use an API, but you explained it so simply. I also figured out how to create my own components with this, which is going to come in handy for my next project. Thanks again!
@TheHouseofMouse
@TheHouseofMouse 5 жыл бұрын
Thanks so much Brad! I have watched several of your videos while taking a full stack course and you do a much better job of explaining things a lot of the time! This video is a huge help :D
@ahmadqasim6077
@ahmadqasim6077 4 жыл бұрын
Thanks a lot. You have no idea how simple you make things look and how easy it becomes for us to learn something new. Thank you for all these awesome tutorials.
@tom_sd3466
@tom_sd3466 6 жыл бұрын
I've learned a lot more from you in the past few weeks then I did in school lol. Great tutorials Brad!! Keep it up
@rauldeandrade
@rauldeandrade 3 жыл бұрын
I love your videos! You're always so clear and practical. You're a great teacher. I really appreciate your content!
@thySerge
@thySerge 6 жыл бұрын
Brad awesome videos! There will always be a need to learn/know older methods of doing things. People were saying that PHP was outdated years ago, and its still alive and well. It would be great to see a more advanced video connecting to a beefier API such as UPS, QuickBooks, or something similar. Great work dude!
@miroslavspirkoski5623
@miroslavspirkoski5623 6 жыл бұрын
These tutorials are the most helpful i've found on the internet. Thanks a lot Brad!
@fllo9992
@fllo9992 3 жыл бұрын
You're great man. So cool you build up everything from scratch. Participating in a Udacity course and viewing your videos simultaneously. Really calms me down that this channel is up, since it's so much better than the course I am participating in and totally helps me really understanding every complex stuff. It's even kind of relaxing stuff, viewing your vids. Pls cont
@borisbosnjak9772
@borisbosnjak9772 5 жыл бұрын
This is it?!? This looks so easy, man! You are explaining like a GOD! Few hours earlier I thought that I will never be able to understand this, but now, oh boy, I have some crazy ideas I think I can do with this! THANK YOU!
@dazelmann6589
@dazelmann6589 4 жыл бұрын
So what's up? Did you actually did anything or kinda just mopped your brain with this knowledge
@abhijitbiswas573
@abhijitbiswas573 4 жыл бұрын
very crisp content Brad. Thanks for all your support in the tech community.
@joshuauduak4909
@joshuauduak4909 3 жыл бұрын
Good Morning Brad, I want to say a very big thank you to you, you have made learning web development fun and easy for me. You are a great mentor and coach and again i want to say thank you for the videos.
@User_Unknown_Anonymous
@User_Unknown_Anonymous 5 жыл бұрын
Thank you for showing all three examples of integrating APIs: Text API, JSON API, and Web API.
@davidjustice2323
@davidjustice2323 4 жыл бұрын
Your voice just heals the pain out of me Brad!
@hebertnogueira762
@hebertnogueira762 5 жыл бұрын
Thank you so much for this in depth explanation! Your content brings much value, I am glad to have found this channel!
@savavuckovic9340
@savavuckovic9340 6 жыл бұрын
I love you man, please keep making awesome vids and have a great day! I went from being complete noob to fullstack web developer thanks to your Eduonix courses and KZbin videos
@judonomi
@judonomi 2 жыл бұрын
I'm here from your Udemy course - 20 Web Projects with Vanilla JS. This is exactly what I needed today. Thanks again, Brad.
@NERO-ez1mn
@NERO-ez1mn 6 жыл бұрын
BASICS will always be BASICS nothing is OUTDATED, something is just UPDATED
@TraversyMedia
@TraversyMedia 6 жыл бұрын
Agreed
@NERO-ez1mn
@NERO-ez1mn 6 жыл бұрын
senpai more graphql please or CRUD templates based on angular? like what you did in the mean stack but a graphql not mongodb as database?
@DB-dk2mj
@DB-dk2mj 2 жыл бұрын
@@TraversyMedia I'm back to your lessons, my friend! Spend 1,5 year on Flutter (New oil shit!) - and now I'm back to Web because of money! I need job, man!))))
@mlasib
@mlasib Жыл бұрын
​@@DB-dk2mjdid u get the job ?
@romanroman9638
@romanroman9638 4 жыл бұрын
Believe me or not, but finally, I've understood the fetch whole thing. Thank you, Brad! So glad to be your student at Udemy
@sherlyhartono8024
@sherlyhartono8024 5 жыл бұрын
Very clear explanation. Better than my bootcamp lecture! Thank you!
@eduardorpg64
@eduardorpg64 2 жыл бұрын
This helped me a lot in a homework assignment. You're the bomb, Brad! Keep up the good work!
@Socko973
@Socko973 4 жыл бұрын
I've been trying to learn how fetch works and this really helped solidify it for me. Thank you!!!!
@zainwasem
@zainwasem 2 жыл бұрын
Your videos never get old. The simple material always Metters.
@tuckertucker1
@tuckertucker1 2 жыл бұрын
Thank you! So, I'm watching your new 2022 video on Laravel, and it's great. Suddenly I decide that I need to do a javascript Fetch call to my Laravel api, and script the response into my HTML. Only it doesn't work right. I spend the next 12 hours combing the internet for a solution, nothing is working, until... Here comes the cavalry, Brad Traversy with a 2017 video that saves me. Well done again. (btw, it was the "double" .then that saved me. No one else was pointing that out.)
@AshishKumar-wh6dw
@AshishKumar-wh6dw 2 жыл бұрын
Just visit on your channel and became a fan. Amazing content and easily understood. Thanks and keep it up. Watching continously...!!
@natetolbert3671
@natetolbert3671 3 жыл бұрын
This is the first I've heard of JSONPlaceholder. That is a seriously good idea. Super simple yet super effective!
@Sasa-qb6zw
@Sasa-qb6zw 5 жыл бұрын
Clear explanation and such a great tutorial! Thanks for this and AJAX crach course! I learned a lot!!!
@mareksamofal3929
@mareksamofal3929 Жыл бұрын
Thank you for the material 💚very helpful and easy to digest. May there be more such teachers 🙏
@charisalackrone3361
@charisalackrone3361 6 жыл бұрын
Thank you so much for this video! I've been really struggling with learning APIs and this was a really helpful overview on interacting with them.
@bobotoole2257
@bobotoole2257 3 жыл бұрын
how u doin nowe ? employed? or nah lol
@easterling9489
@easterling9489 2 жыл бұрын
Rick, Glenn and Negan are names from the Walking Dead :) Sir, you are a man of culture!
@noelemmanuel5715
@noelemmanuel5715 3 жыл бұрын
I've learnt alot from you and I made a WhatsApp group for teaching others how to code and I always refer my students to you,I would be highly grateful if you grant my request,just 16 and It took me 4 months to learn HTML,CSS and JavaScript,love you Traversy, you're my boss👍👍👍
@siyabhatt2090
@siyabhatt2090 3 жыл бұрын
after searching long this video made my day........thanks for this level of knowledge
@Barnardrab
@Barnardrab 3 жыл бұрын
Thanks. You've solved a problem I've been struggling with in the first 9 minutes
@rahsaanpringle3583
@rahsaanpringle3583 2 жыл бұрын
You and these other dev on KZbin courses have added more value to the economy than you'll ever know. Thanks for what you do, I hope you're getting fat pockets from it. Let me know if you can show me how to fix my Jeep.
@BrianDriscoll
@BrianDriscoll 3 жыл бұрын
Thank you, thank you, thank you. The fetch tutorial from my paid program got way too complicated, way too fast, I couldn't even use a simple dog api! Now I can because of this tutorial. And, I love that you don't have this "extra code" that "really doesn't matter to understand this cocnept" because that makes the whole thing confusing.
@TheLollercaster
@TheLollercaster 4 жыл бұрын
Something what I've been actually looking for!!! Thank you!
@arshamazami159
@arshamazami159 3 жыл бұрын
The best video about fetch api You explained this concept very well And thaks for sharing your knowledge 👍
@sektor187
@sektor187 6 жыл бұрын
Awesome video! Keep up the great work man, love your videos!
@freddycordova8934
@freddycordova8934 5 жыл бұрын
Excelente tutorial, muy bien explicado y me encantó el acabado final que le diste con Bootstrap. Muchas gracias.
@rodrigogasp
@rodrigogasp 3 жыл бұрын
Man, you just saved my life. What a great content!
@oluwayomibalogun
@oluwayomibalogun 3 жыл бұрын
I appreciate this a lot. I've been confused by the fetch API until watching your videos.
@00el04
@00el04 3 жыл бұрын
do you like this or axios more?
@oluwayomibalogun
@oluwayomibalogun 3 жыл бұрын
@@00el04 I don't know about axios. This is my first point of contact with this field
@elliot-chagu294
@elliot-chagu294 5 жыл бұрын
Dude I would pay for your teaching. Great stuff.
@user-kw3vv6gy3y
@user-kw3vv6gy3y 5 жыл бұрын
best video so far on this subject, thanks very much!
@BobAg_
@BobAg_ 5 жыл бұрын
Love your videos. Amongst the best on YT.
@culturapoliticaycomputador9999
@culturapoliticaycomputador9999 3 жыл бұрын
Thank you mr. For these great videos, you are a good teacher.👍🙏
@67Keldar
@67Keldar 5 жыл бұрын
Awesome... This video just unblocked a couple of things that I've been struggling with over past videos I've watched. The Asynchronous stuff has had me scratching my head over dozens of videos but it just fell into place... Great examples \o/ Thanks
@belinhobeli9569
@belinhobeli9569 4 жыл бұрын
So good, and yet so easy to understand. thumbs up
@lardosian
@lardosian 6 жыл бұрын
Hi Brad, I have a request for you for a small video. Basically a video where you list what a JS/web developer should know related to his/her stage of learning. EG - beginner should know xyz and how strong...Intermediate should know xyz and how strong...Senior Developer should know xzy and how strong. I'm sure I'm not the only one who sometimes feels overwhelmed by so many different aspects of web development, and job specs can seem so intimidating, that would be great, thanks.
@haileeko1952
@haileeko1952 Жыл бұрын
Great videos. I'm learning a lot from each one. Thanks.
@Programming-Fun-With-Hima
@Programming-Fun-With-Hima 6 жыл бұрын
Well done hero, thank you so much (from Algeria)
@prateek4524
@prateek4524 3 жыл бұрын
Thankyou so much for this video broo.. Was looking for this. You made my day.🙏👌👌🤩🤩
@siemen_subbaiah
@siemen_subbaiah 3 жыл бұрын
THANK YOU SO MUCH FOR THIS! You deserve a lot for sure!
@alexannder15
@alexannder15 5 жыл бұрын
Excelente, se nota la diferencia entre xhr API y fetch API. definitivamente te entendí todo, muchas gracias!
@arxaa4422
@arxaa4422 6 жыл бұрын
Wow, amazing video. I like the new standards in es6. I love the new way to concatenate using backticks.
@AntonnifoGaming
@AntonnifoGaming 5 жыл бұрын
I was unable to concanate with the backticks I don't know what I did wrong
@cervantes01
@cervantes01 4 жыл бұрын
Brilliant as always brad, thank you :)
@vladosononame6376
@vladosononame6376 3 жыл бұрын
Hey man, you inspired me to try this proxy method, my fetches from frontend finaly works with backend! Thank you for this video! im subscribing on you
@alexisdauli8537
@alexisdauli8537 4 жыл бұрын
Thanks a lot bro for always making things easier!!!
@terrycox829
@terrycox829 2 жыл бұрын
Outstanding coding walk-thru on several, realistic Fetch API scenarios. I learned some valuable things that went beyond the Fetch API, too -- such as the use of backticks; Bootstrap; Live Server; Jsonplaceholder, etc. Well done.
@robscherer
@robscherer 2 жыл бұрын
I may not agree with everything you say on Twitter, but damn you are good at what you do and I really appreciate you!
@TheNerdyDev
@TheNerdyDev 6 жыл бұрын
Great video sir. A video on how to make axios request in vuejs will be highly appreciated sir.... I have learnt a lot from you..
@nickwust5095
@nickwust5095 Жыл бұрын
Man, you helped me greatly! Thank you!
@soultouchingsongs
@soultouchingsongs 6 жыл бұрын
Excellent! Thanks for this awesome video. 👍
@RickyGarcia_Learning
@RickyGarcia_Learning 6 жыл бұрын
My man! You always come through.
@itai0800
@itai0800 4 жыл бұрын
Thank You! very good & helpful video, I really enjoyed it
@MrStuartp
@MrStuartp 4 жыл бұрын
brilliant tutorial, thanks so much!
@xklusiv15
@xklusiv15 2 жыл бұрын
Still amazing content bro. Very helpful and easy to understand.
@kevinurielfonseca
@kevinurielfonseca 5 жыл бұрын
Just what I needed, thanks Brad!
@PetrChlada
@PetrChlada 2 жыл бұрын
Amazing study material! Thank you
@alphacode5
@alphacode5 3 жыл бұрын
I actually learned a lot from this, thanks
@kaankara1101
@kaankara1101 2 жыл бұрын
I agree with you. old technologies are interconnected with new technologies and I think they are a building block for learning new technologies. there is no harm in learning
@Daamilola
@Daamilola 5 жыл бұрын
This takes away the stress, Thank Brad.
@hongwi2945
@hongwi2945 5 жыл бұрын
Thank you so much for your explanation !
@kamaboko1
@kamaboko1 6 жыл бұрын
Very solid overview. Thanks.
@TANISHQJAIN1002
@TANISHQJAIN1002 6 жыл бұрын
Waited for this from so long ;)
@ivantarnyagin9731
@ivantarnyagin9731 2 жыл бұрын
Damn Traversy. Your tutorials are amazing. Thanks
@firstignitor
@firstignitor 2 жыл бұрын
you're the right guy who deserves a drink. that's for the efforts
@CarlosMartinezTech
@CarlosMartinezTech 4 жыл бұрын
Thank you so much, for this amazing Content
@ahmedashraf-cf9lt
@ahmedashraf-cf9lt 2 жыл бұрын
the only channel i stop adBlock thanks brad,
@user-vq6pe5px9k
@user-vq6pe5px9k 6 жыл бұрын
It was great video, probably best on youtube but I demand the second part of it where your dive into fetch deeper. It would be great! Or make something practical and even difficult using Promises. That's a very interesting topic in JS. Thanks to ES6. But anyway, I want to say u a great thank for all that videos that you create. You've contributed a lot personaly for me, and I think for a lot of guys of ur subscribers. I wish you to accomplish everything about what you dream and have a good Bellgium on Munich beer. Thank u again!
@ukaszpochron4263
@ukaszpochron4263 5 жыл бұрын
Very good explanation!
@fusehenry
@fusehenry Жыл бұрын
Thank you, Brad. Very helpful.
@ivangajic8129
@ivangajic8129 6 жыл бұрын
Best teacher, no doubt.
@TraversyMedia
@TraversyMedia 6 жыл бұрын
Thanks :)
@nero1563
@nero1563 5 жыл бұрын
Very helpful video! Thank you sir!
@paayalshah5172
@paayalshah5172 6 жыл бұрын
Thank you. Learnt a lot from this vdo.
@BusinessWolf1
@BusinessWolf1 2 жыл бұрын
This was the first time seeing how bootstrap works, up until now I've only heard of it. That looks like god's gift to earth. Just.. wow.
@DanielWeikert
@DanielWeikert 6 жыл бұрын
Thanks a lot Brad. Great video. Could you go into more detail on your best practices to learn these things fast? Learning by doing is certainly the best thing but maybe you use certain techniques which might help as well? Thx.
@mahsam7975
@mahsam7975 6 жыл бұрын
thanks for your great tutorials
@anirln8530
@anirln8530 2 жыл бұрын
why are we making a request to the json file every time the input changes, can we make it just once and every time the input changes we filter the states array ?
6 жыл бұрын
Thank you for tutorials.
@Super_Cool_Guy
@Super_Cool_Guy 6 жыл бұрын
HI Brad, we are just curious to know what kind of hardware computers you are using to make and write your videos ?
@brianlewis3225
@brianlewis3225 4 жыл бұрын
Really enjoyed this. Thanks!
@prathapkasi7739
@prathapkasi7739 2 жыл бұрын
Thank you so much for your valuable information
Create a Custom PDF Viewer With JavaScript
28:27
Traversy Media
Рет қаралды 202 М.
Async JS Crash Course - Callbacks, Promises, Async Await
24:31
Traversy Media
Рет қаралды 1,4 МЛН
Dynamic #gadgets for math genius! #maths
00:29
FLIP FLOP Hacks
Рет қаралды 18 МЛН
NO NO NO YES! (50 MLN SUBSCRIBERS CHALLENGE!) #shorts
00:26
PANDA BOI
Рет қаралды 102 МЛН
когда достали одноклассники!
00:49
БРУНО
Рет қаралды 2,7 МЛН
[柴犬ASMR]曼玉Manyu&小白Bai 毛发护理Spa asmr
01:00
是曼玉不是鳗鱼
Рет қаралды 47 МЛН
How to FETCH data from an API using JavaScript ↩️
14:17
Bro Code
Рет қаралды 79 М.
Ten Steps to Mastering the Fetch API
2:19:52
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 39 М.
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,4 МЛН
HTMX Crash Course | Dynamic Pages Without Writing Any JavaScript
56:47
Traversy Media
Рет қаралды 130 М.
REST API Crash Course - Introduction + Full Python API Tutorial
51:57
AJAX Crash Course (Vanilla JavaScript)
1:09:43
Traversy Media
Рет қаралды 713 М.
Code faster with these VS Code shortcuts
8:44
Coder Coder
Рет қаралды 298 М.
1.1: fetch() - Working With Data & APIs in JavaScript
15:39
The Coding Train
Рет қаралды 449 М.
JavaScript Higher Order Functions & Arrays
34:56
Traversy Media
Рет қаралды 977 М.
JSON and AJAX Tutorial: With Real Examples
40:45
LearnWebCode
Рет қаралды 1,8 МЛН
Индуктивность и дроссель.
1:00
Hi Dev! – Электроника
Рет қаралды 1,5 МЛН
Nokia 3310 versus Red Hot Ball
0:37
PressTube
Рет қаралды 3,7 МЛН
😱НОУТБУК СОСЕДКИ😱
0:30
OMG DEN
Рет қаралды 2,4 МЛН
Обзор игрового компьютера Макса 2в1
23:34