Axios Crash Course | HTTP Library

Поділитися
Вставка
  • Опубліковано 24 жов 2019
  • In this video we will be looking at the Axios HTTP client to make requests, add headers, create interceptors and more
    Code:
    github.com/bradtraversy/axios...
    💖 Become a Patron: Show support & get perks!
    / traversymedia
    Website & Udemy Course Links:
    www.traversymedia.com
    Follow Traversy Media:
    / traversymedia
    / traversymedia
    / traversymedia
  • Наука та технологія

КОМЕНТАРІ • 285

  • @TraversyMedia
    @TraversyMedia  4 роки тому +181

    Intro - 0:30
    Interface & Files Explain - 2:15
    GET Request & Response Explain - 3:56
    POST Request - 9:58
    PUT/PATCH Request - 12:25
    DELETE Request - 14:35
    Simultaneous Requests - 15:30
    Interceptors - 19:35
    Custom Headers - 22:40
    Transform Response - 24:38
    Globals - 27:00
    Error Handling - 29:16
    Cancel Tokens - 33:50
    Axios Instances - 36:33
    Timeout - 39:07

    • @latelotus
      @latelotus 4 роки тому

      Almost done with your udemy api course(best udemy course I've taken all year). This is a great companion to that. BTW will you be creating a front end companion to that course?

    • @saidrasool8431
      @saidrasool8431 4 роки тому

      I love and like your videos.Is it must to learn data structure and algorithm for web development?plz reply.

  • @thanapongangkha1417
    @thanapongangkha1417 4 роки тому +204

    You’re good at everything Brad, EVERYTHING.

    • @TraversyMedia
      @TraversyMedia  4 роки тому +278

      Remember, I spend a ton of time looking stuff up, researching, etc. One misconception is when we do tutorials, people think it is always that smooth. We cut out all of the mistakes, research to cut it down so you guys can consume it. Many of my viewers are actually better programmers than I am, I just have an ability to explain things in a simple way. But thank you for the compliment :)

    • @kennethkipchumba2532
      @kennethkipchumba2532 4 роки тому +5

      Brad! What is the average time you spend on the computer a day?

    • @TraversyMedia
      @TraversyMedia  4 роки тому +54

      @@kennethkipchumba2532 Around 8 hours during the week. Maybe 3-4 on the weekends. I have really cut down, I used to work around 14 hours a day on the computer. Sometimes with almost no breaks. I can't do it anymore though. My back and neck have issues and I get bad migraines with vertigo.

    • @ihsanmohamad521
      @ihsanmohamad521 4 роки тому +13

      @@TraversyMedia thank you Brad, i always felt overwhelmed when learning tutorial on youtube. People do it with ease and i feel like i could never be as good as all the youtuber. This made me feels a bit better knowing almost everyone is struggling in coding.Thank you.

    • @regunwijaya5203
      @regunwijaya5203 4 роки тому +1

      @@ihsanmohamad521 me too pal

  • @igalbog
    @igalbog 4 роки тому +10

    Couldn't have explained it any better. Brad, you are a gifted instructor. Thanks for sharing your gift with the world.

  • @DC-xt1ry
    @DC-xt1ry 2 роки тому +3

    Some people were born to teach and you are one of them! Voice, knowledge, technique, etc! I am already a fan! thx for sharing!

  • @matteol1778
    @matteol1778 3 роки тому +8

    Bro, this course WAS LIT 🔥
    Easy to understand and comprehensive, plus with code attached on the video (something that UA-cam code teacher usually forgot to do).
    I really enjoyed to watch it.
    Thank you!

  • @alexandrmeyer
    @alexandrmeyer 8 місяців тому +3

    That's unbelievable, how you were able so Clearly explain so many topics during so little time! That's either a talent or some structured thinking. Great job! Thank you very much.

  • @alejandrocano88
    @alejandrocano88 4 роки тому +1

    everytime i need to learn something, type in the search bar and Brad already did a tutorial, thanks man you really helping me out.

  • @youraverageprogrammer7532
    @youraverageprogrammer7532 4 роки тому +3

    Wow, I was literally just going over the custom HTTP library from you course. Now, I get to practice with an actual library. Thanks brad!

  • @bjornleonhenry9750
    @bjornleonhenry9750 4 роки тому +4

    Brad, your video are really good and your style of teaching is awesome, easy to understand and follow, so much valuable knowledge and enjoy watching every one. Your are a huge source of inspiration and many thanks for everything you have thought me and many others!!

  • @azititiiaz
    @azititiiaz Рік тому +4

    This was amazing! Straight to the point, very clean and easy to understand! Can't thank you enough! Loved it!

  • @mohammadimran2219
    @mohammadimran2219 4 роки тому +21

    I wanted to learn Axios API & here you go! The Man launched CC!
    TM

  • @gambomaster
    @gambomaster 4 роки тому +2

    Brad is good at first understanding the topic at hand and then teaching the same topic in plain english. It takes lots of time and research to understand one topic. He is good at it. In this world of tutorials, he is our Traversinator. 😉

  • @BusinessWolf1
    @BusinessWolf1 7 місяців тому +2

    This course is really really great to do right after the Express one. You get to actually use the API you made.

  • @bankoleesan2129
    @bankoleesan2129 4 роки тому +10

    You're the Man Mr Traversy. Thank you... It's almost like you read my mind, honestly! Thank you Mr Traversy, you'll always be my Hero.

  •  4 роки тому +8

    I came here just to leave my like to the video since I am going through the MERN tutorial. Soon I will be here learning more. 👨🏾‍💻😊

  • @johnwilliams983
    @johnwilliams983 4 роки тому +1

    Anything I want to learn Brad has a video on it. I just came across axios. Funny thing is I'm subscribed to your channel for a while now and I missed this video. Thanks again Brad, you deserve all your success.

  • @Gurucanggih
    @Gurucanggih 3 роки тому +1

    This is exactly what I'm looking for. I'm learning node, express and react right now. Thank you sooooo much.

  • @blackshock4able
    @blackshock4able 3 роки тому +2

    I look for a tutorial on the internet and then BAM a few days later I find it here, this channel is awesome

  • @veoquenoesunproblema
    @veoquenoesunproblema 2 роки тому +3

    Dude!, this was the best learning I have had of Axios, with this I was able to create a complete Airline website project for college, thank you, soo well explain this crash course. I really don't know what it has but it is very different to some others I have found.

  • @headlikeahole6548
    @headlikeahole6548 4 роки тому +19

    Awesome, Brad. That's exactly what I needed right now.

  • @GuitarAge
    @GuitarAge 4 роки тому +9

    I learned and I did some axios things before but it still was a kind of mystery, not systemized and disorder in my head. After this tutorial i refine my app and feeling really confident in this technique. Thanks a lot!

  • @tomasmatusek6292
    @tomasmatusek6292 8 місяців тому +1

    2023 and I want thank you alot for this job what you did. I now learn it in school and I was ben confused about this topic, but you are
    me illuminated this topic a lot.
    Thank you alot.
    Im not your fun, but ... waw. Big job and so good so far.

  • @alexkey9372
    @alexkey9372 4 роки тому +2

    I thought I knew axios well enough until your tutorial! great work!

  • @hamzaashraf9529
    @hamzaashraf9529 2 роки тому +1

    this was a giant tutorial brad i just love learning from you thank you brad for such a master piece

  • @opossum4463
    @opossum4463 3 роки тому +1

    Major kudos for actually rendering the results on the page.

  • @infinitivegamer6899
    @infinitivegamer6899 4 роки тому +2

    Awesome work there monsieur! It seems there are no other full crash courses on axios except this one. Whenever we search it on any device this one comes up at the top.

  • @LeetCodeSimplified
    @LeetCodeSimplified 3 роки тому +1

    Glad I found your tutorial. I've lost count of the "aha" moments I've had while watching. Thx man!!!

  • @josesavioli3982
    @josesavioli3982 2 роки тому +1

    Great crash course. The start.js and html from the Github page helped a lot!

  • @bhargavpandya9189
    @bhargavpandya9189 3 роки тому +1

    this was a great tutorial especially for a total beginner like me! It had always confused me when I saw these lines of code anywhere. Thankfully not anymore!
    thank you

  • @aaronguildstationers1769
    @aaronguildstationers1769 4 роки тому +5

    This tutorial is fantastic, as always. I really appreciate you sharing your knowledge.
    Have you ever considered putting up a tutorial on making tutorials?
    In all seriousness, you are a great teacher and other online instructors could really benefit from seeing your process!

  • @Ragnar-bh1tu
    @Ragnar-bh1tu 4 роки тому +4

    Incredible work ethic and knowledge base, huge respect!

  • @anilanaparthi6985
    @anilanaparthi6985 4 роки тому +2

    Your are really doing great tutorials ,no one else replace..

  • @abubakarBello59
    @abubakarBello59 2 роки тому +1

    Your videos are always the best for me on UA-cam. Keep it up, Mentor.

  • @ademineshat
    @ademineshat 4 роки тому +2

    Wow perfect start. Love this way. Thank you

  • @parsabadri6064
    @parsabadri6064 4 роки тому +1

    Hi, I have watched your courses and learned a lot from them, you are a wonderful person... thank you so much!

  • @krdgopi
    @krdgopi 4 роки тому

    Brad, You are good in explaining things clearly. I am a great fan of you.

  • @clovisdaniel4366
    @clovisdaniel4366 3 роки тому +2

    Clear like crystal. Congratulations!

  • @rds3492
    @rds3492 4 роки тому +1

    Your tutorials are best!!!!
    I am going to recommend your page to everyone!!!

  • @basiccodingwithadam8125
    @basiccodingwithadam8125 4 роки тому +2

    Hey! Something I asked for! Thanks Brad, you’re the best.

  • @sethmccullough6206
    @sethmccullough6206 4 роки тому +1

    Awesome video Brad, I finally fully understand how Axios works!

  • @naveenraj061
    @naveenraj061 3 роки тому +1

    Your a hero for freshers, brad.

  • @muhammadpardaboyev3017
    @muhammadpardaboyev3017 4 роки тому +1

    That's a great tutorial!!! Thank you very much, Brad! You are doing great job

  • @JoeWong81
    @JoeWong81 4 роки тому +2

    Thanks for that walkthrough Brad!!!

  • @yanjim
    @yanjim 4 роки тому +3

    Thank you once more Brad!! Another great tutorial!!

  • @nhathuynguyen716
    @nhathuynguyen716 4 роки тому +1

    you're a blessing for our community. Thanks a lot !

  • @federicobalboa9145
    @federicobalboa9145 4 роки тому +2

    best web dev teacher

  • @TheCodeRank
    @TheCodeRank 4 роки тому +3

    I really love traversy media all videos

  • @richardantao3249
    @richardantao3249 4 роки тому +2

    Brad is a gift from the gods.

  • @shantanu277
    @shantanu277 3 роки тому +2

    Amazing content. Clearly explained the concept.

  • @Ada-zg2qb
    @Ada-zg2qb 4 роки тому +3

    Thank you for this. I went to a coding boot camp and could not keep up but your videos are a lifesaver.
    The whiteboard interview process has been difficult, and I would love to hear your opinion on how students like myself should approach whiteboard interviews in a market when CS/Math/etc grads seem to have a better advantage due to their CS theory curriculum.

    • @aaaa-wh3lj
      @aaaa-wh3lj 2 роки тому

      I feel this right now. By the looks of things if you want to work in a big company, you have to know algorithms and data structures, I never learned it and I wish I could go back and do a normal bachelors to be able to learn these things but its too late now for me. Its very discouraging.

  • @karma_yogi_42
    @karma_yogi_42 3 роки тому +1

    that was beautiful! made it so easy to learn!

  • @fadifindakly3850
    @fadifindakly3850 3 роки тому +1

    That’s a great video.. thanks a lot Brad for your huge efforts!

  • @tirsolecointere
    @tirsolecointere 4 роки тому +3

    Yesterday I was looking for an axios course and none of them got my attention... And today... BAMPPP!!! Axios Crash Course by Brad... LOL

  • @DrumhardbeatzzProductions
    @DrumhardbeatzzProductions 4 роки тому +2

    Thank you very much sir...this was the only topic...i was waiting for ur lecture

  • @salimel8802
    @salimel8802 4 роки тому +6

    You re the best instructor ever! How mush did you spend to learn all that staff ? I spent a lot of time just to learn node!

  • @ecoded3033
    @ecoded3033 3 роки тому +1

    This is an extremely meaningful resource. Thanks!

  • @Ash-em5pm
    @Ash-em5pm 4 роки тому +4

    You sir , are growing really fast. Looks like we are going to hit 1 million in a month or so. My best wishes to you.

    • @TraversyMedia
      @TraversyMedia  4 роки тому +3

      Thanks. It will be longer than a month, but we are getting there :) thanks for watching!

  • @joshpark818
    @joshpark818 4 роки тому +1

    Insanely good tutorial. Literally the best

  • @alpharomeo9279
    @alpharomeo9279 3 роки тому +1

    Hey Brad. Been enjoying learning webdev through your videos. If I may suggest an advice, it seems that attaching a cam recording of yourself while explaining the videos will get people to focus more on the explanations.
    If I can see your face & gesture when you're explaning them, I am 100% sure that it will give more interactivity which will make it easier for me to understand the explanation & maintaining my focus as you explain the whats & whys.
    Once again, I thank you for giving us aspiring developers a way to truly get up & started on our code. Your code along really helps. Like. A lot.
    Please be safe & healthy for many long years. Sincerely, your fan from Indonesia!

  • @stevendornan7979
    @stevendornan7979 4 роки тому +3

    I love it

  • @aminkazemi6938
    @aminkazemi6938 4 роки тому +1

    love u Brad Travesy, prefect time to learn axios for me its miracle

  • @walidsalah3414
    @walidsalah3414 4 роки тому +1

    Thank you for this AMAZING crash course

  • @Groot140
    @Groot140 4 роки тому +6

    Just Amazing Sir!

  • @polinashakirova8452
    @polinashakirova8452 3 роки тому +1

    Thank you very very much!!! It is extremely interesting and clear, I really enjoyed it. Can't wait to implement

  • @manuelkoch2659
    @manuelkoch2659 3 роки тому

    As always: super content condensed to what counts, thumbs up!

  • @ytubs
    @ytubs 3 роки тому +1

    Thank you my dude... Best of luck and good health

  • @melihozdemir2561
    @melihozdemir2561 2 роки тому +1

    You are a wonderful teacher!

  • @meenalwebsenor9016
    @meenalwebsenor9016 3 роки тому +1

    Thank you sir.... amazing chapter taught by you

  • @shrirammasal5403
    @shrirammasal5403 2 роки тому +1

    After one week on search I got this beautiful thing😊

  • @sferroebbasta
    @sferroebbasta 4 роки тому +1

    Thank you always, Brad!

  • @michael_hackson_handle
    @michael_hackson_handle Місяць тому

    Thanks! Subscribed and will check more courses. Keep it up! 🔥

  • @yassineaker
    @yassineaker 4 роки тому +6

    Thanks for this great content.

  • @paulprendergast96
    @paulprendergast96 9 місяців тому +1

    wow this was great; best video I have seen for Axios.

  • @CoryTheSimmons
    @CoryTheSimmons 4 роки тому +3

    Great rundown. Thanks! I bet that axios.defaults.transformRequest could be used to attach a JWT to every request. Might be handy for auth.
    Edit: RIP. 2 seconds after I comment you go over globals that covers that use case.

  • @MrRapic
    @MrRapic 4 роки тому +1

    Great video. Thanks Brad!

  • @fanuel2198
    @fanuel2198 3 роки тому +1

    Thank you for making my life much easier

  • @ad4762
    @ad4762 2 роки тому

    watching this after the 50 projects in 50 days course, awesome

  • @shaikhahmaasher979
    @shaikhahmaasher979 4 роки тому +4

    Nice video as always! thank you so much.
    But I have a request to talk more about creating authorized APIs and how to use them in front/back ends with jwt & custom headers. Please create a video for this, as it's so important to secure our applications.

  • @syedfahad6043
    @syedfahad6043 3 роки тому +1

    Thank you soo much for this wonderful explanation....

  • @CarlosMartinezTech
    @CarlosMartinezTech 4 роки тому

    Thank you for your amazing content!

  • @redhawk5476
    @redhawk5476 4 роки тому +2

    i think u can read my mind lol
    thanks for every great content this chanel upload

  • @lolashepota4050
    @lolashepota4050 3 роки тому +1

    Great video!!! Many thanks to you!

  • @youtubekostroma
    @youtubekostroma 3 роки тому +1

    Спасибо за урок, хорошая подача материала.

  • @gideaoferreira8236
    @gideaoferreira8236 2 роки тому +1

    You’re good at everything Brad, EVERYTHING. ²

  • @ejikeezekwunem4162
    @ejikeezekwunem4162 2 роки тому

    This is an awesome tutorial. Thank you very much

  • @danilosampaio6493
    @danilosampaio6493 4 роки тому

    You always save may life hahah thank you Brad

  • @affanwaseem7175
    @affanwaseem7175 9 місяців тому

    To the point and very informative!

  • @DaveGalligher
    @DaveGalligher 2 роки тому

    Great presentation, thank you.

  • @binhbietboi
    @binhbietboi 2 роки тому

    Thanks, Traversy Media!

  • @SameeraSenarathna
    @SameeraSenarathna 3 роки тому

    Thank you for the great explanation.

  • @ProgrammingwithPeter
    @ProgrammingwithPeter 4 роки тому +1

    Axios is the current best for http requests and you are for developers!

  • @shadow_3213
    @shadow_3213 3 роки тому

    Thank's a lot !!!
    Best content ever on your channel :-)))

  • @bokunochannel84207
    @bokunochannel84207 4 роки тому +2

    very nice explanations

  • @taaemoh
    @taaemoh 2 роки тому

    You're awesome... keep nailing down more topics

  • @duykhanhtrandev
    @duykhanhtrandev Рік тому

    Thank you, very useful course!

  • @omairacristinapalaciossanc7073
    @omairacristinapalaciossanc7073 4 роки тому +1

    Thank, just what I need

  • @leg875
    @leg875 2 роки тому

    As usual your videos are awesome

  • @robertoportfolio1378
    @robertoportfolio1378 2 роки тому

    Did the whole video but with be nicer if we used our own backend api in the localhost than a json api in the internet ..thx for this video

  • @dhokiarinidh9809
    @dhokiarinidh9809 Рік тому

    Thank you so much, it really helped

  • @irwinpalomo7212
    @irwinpalomo7212 4 роки тому +3

    Thank you so much brad