How to Handle API in javascript

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ต.ค. 2024

ความคิดเห็น • 93

  • @HiteshCodeLab
    @HiteshCodeLab  4 ปีที่แล้ว +1

    Full course is FREE and will be available here
    courses.learncodeonline.in/learn/Complete-Javascript-course

    • @vamsikrish650
      @vamsikrish650 8 หลายเดือนก่อน

      bro i am unable to login to your website

  • @SHUBHAMGUPTA-br2jx
    @SHUBHAMGUPTA-br2jx 4 ปีที่แล้ว +5

    Please upload CORS video .
    And thank you for wonderful js course.

  • @RekhaGujar83
    @RekhaGujar83 4 ปีที่แล้ว +1

    Best free course on TH-cam

  • @Teachjarunjoshi
    @Teachjarunjoshi 4 ปีที่แล้ว +9

    Please upload CORS video .
    And thank you for wonderful js course.

  • @yogeshdevaggarwal
    @yogeshdevaggarwal 4 ปีที่แล้ว +2

    Video on CORS Please!

  • @pranshuaggarwal
    @pranshuaggarwal 3 ปีที่แล้ว

    Amazing video sir. Classic version of making API calls using simple Javascript. Thanks for providing this content.

  • @oliverjames8080
    @oliverjames8080 3 ปีที่แล้ว +2

    When I tried to execute the fetch in the google console I got "failed to load recourse: net;;ERR_FAILED"
    does anyone know how I can fix this

  • @chiragsaini2314
    @chiragsaini2314 3 ปีที่แล้ว +4

    to all those who want to run this code on node , install node-fetch (e.g => npm install node-fetch) and change fetch to const fetch = require("node-fetch") , rest continue with the code , or you can also use axios but the code will vary.

    • @jsjuris8922
      @jsjuris8922 3 ปีที่แล้ว +1

      Thanks for info.

    • @chiragsaini2314
      @chiragsaini2314 3 ปีที่แล้ว

      @@jsjuris8922 np

    • @mansijain8847
      @mansijain8847 3 ปีที่แล้ว

      it is showing error in console as well promise is rejected .any solution ?

    • @chiragsaini2314
      @chiragsaini2314 3 ปีที่แล้ว

      @@mansijain8847 i would need a little bit more information regarding it , are you on discord?

    • @rashi1662
      @rashi1662 2 ปีที่แล้ว +1

      thanks it is really helpful

  • @vaishnavigaikwad1505
    @vaishnavigaikwad1505 4 ปีที่แล้ว

    You make things quite simpler to understand sir!! a video on CORS plz.

  • @rohithkumar6682
    @rohithkumar6682 4 ปีที่แล้ว +1

    Please make a video about cors sir

  • @Gamer_with_knowledge
    @Gamer_with_knowledge 2 ปีที่แล้ว

    Thank you so much for this video @Hitesh. This is the explanation I needed for promises.

  • @vickydhanwani3848
    @vickydhanwani3848 4 ปีที่แล้ว +3

    Please a video for how to handle CORS error. It took me aa lot of time to understand CORS and handled it using a third party package in ExpressJS.

  • @hetalbaghel4060
    @hetalbaghel4060 3 ปีที่แล้ว +3

    Whenever I am pasting code in the console of chrome its showing
    [[PromiseState]]: "rejected"
    What should i do

  • @Mehedihasan-rahat
    @Mehedihasan-rahat 2 ปีที่แล้ว

    Dear Hitesh Bhai plz provide the lecture about Facebook, TH-cam, and Google map API ... Love from Bangladesh

  • @saurabhkumarmishra6990
    @saurabhkumarmishra6990 4 ปีที่แล้ว +2

    Start of the day with Hitesh sir 💐💐💐

  • @kapilchhabra3028
    @kapilchhabra3028 3 ปีที่แล้ว

    Great on Hitesh, it's amazing. Love to see CORS yt video soon :)

  • @bhavleensingh6929
    @bhavleensingh6929 4 ปีที่แล้ว +8

    who remember the typo of *AUTHETICATED* instead of *AUTHENTICATED* :)

  • @narrensingh5605
    @narrensingh5605 4 ปีที่แล้ว

    Great video searching just now

  • @Abdirizakmrashid
    @Abdirizakmrashid 3 ปีที่แล้ว

    Thanks eng

  • @afamsval
    @afamsval 4 ปีที่แล้ว +2

    I love this video. API rocks! you really did justice to it. You always have the best video quality on TH-cam. Thanks Sir!

  • @akhil1273
    @akhil1273 4 ปีที่แล้ว +1

    Sir please update this course of javascript on LCO..

  • @shashankgaur2739
    @shashankgaur2739 4 ปีที่แล้ว +1

    Want a video on CORS. Please

  • @HarshalChauhan_
    @HarshalChauhan_ 2 ปีที่แล้ว

    amazing explanation

  • @sivasai6890
    @sivasai6890 4 ปีที่แล้ว +1

    Sir, Video on cors please

  • @VishalSharma-rn7mt
    @VishalSharma-rn7mt 4 ปีที่แล้ว +2

    Thank you so much sir,
    this is the best Javascript course, your teaching is awesome

  • @arvindlanghe7106
    @arvindlanghe7106 4 ปีที่แล้ว +1

    Sir please make video on cors

  • @TS-xo3ed
    @TS-xo3ed 4 ปีที่แล้ว +4

    Whoa! Who else Coffee with JavaScript !😍

    • @AbhituklVerse
      @AbhituklVerse 4 ปีที่แล้ว

      Hey, why you learn java with Javascript

    • @TS-xo3ed
      @TS-xo3ed 4 ปีที่แล้ว

      @@AbhituklVerse Frontend 😍 plus Backend of web

  • @amanprajapati3417
    @amanprajapati3417 3 ปีที่แล้ว +1

    When I am running same code on we browser it gives me error😭😭

  • @gokulans5052
    @gokulans5052 4 ปีที่แล้ว

    Yes sir we need video on CORS please sir...

  • @souvikmukherjee9074
    @souvikmukherjee9074 4 ปีที่แล้ว +1

    Sir make a detailed video on CORS

  • @ajayrabari433
    @ajayrabari433 4 ปีที่แล้ว

    We need a video on cors sir. I have seen the error a lot but not understand it perfectly what it means.

  • @narutokunn
    @narutokunn 4 ปีที่แล้ว

    A video on cors yess 🙋‍♂️

  • @drivenbycuriosity
    @drivenbycuriosity 4 ปีที่แล้ว +1

    Please make a video on CORS, Thanks!

  • @Mehedihasan-rahat
    @Mehedihasan-rahat 2 ปีที่แล้ว

    One issue is to know that when the response data into then() is converted into json() like respond.json() then it is told that the respond data is converted into json format... but then why it does not converted again with JSON.parse() to get JS formatted object...???? how it automatically converted only using json() method????

  • @NIDHISHARMA-ep6nc
    @NIDHISHARMA-ep6nc 3 ปีที่แล้ว

    Tysm Sir

  • @wasimrajamiddya7560
    @wasimrajamiddya7560 2 ปีที่แล้ว

    Hi sir
    I got type error when I run this code on Chrome browser's console. Please tell me how can I handle this ?

  • @stiphenrobert4469
    @stiphenrobert4469 4 ปีที่แล้ว +1

    Sir add es6 course in this playlist.. Plz 🙏

  • @vinaymaurya2333
    @vinaymaurya2333 2 ปีที่แล้ว

    Sir please update this course of javascript on LCO..

  • @yanalashivaprasadreddy3010
    @yanalashivaprasadreddy3010 4 ปีที่แล้ว +1

    I'm new to api handling .I think i learnt good enough stuff from this video.

  • @YouAndImpact
    @YouAndImpact 4 ปีที่แล้ว

    Great video 👍

  • @EauDeWater
    @EauDeWater 3 ปีที่แล้ว

    Rajnikant is basically Chuck Norris of India😅

  • @zlackbiro
    @zlackbiro 3 ปีที่แล้ว

    How we don't have options to use fetch WEB API inside node and simulate process using node app.js?
    We can do npm i node-fetch
    Then:
    const fetch = require("node-fetch")
    Then:
    fetch(url)
    .then()
    .then()

  • @saibhanumathurthi903
    @saibhanumathurthi903 4 ปีที่แล้ว +1

    Thank you so much for this amazing JavaScript! because of the way you are teaching, day by day, my interest on JavaScript increases a lot and doing good by watching your series along with the mdn doc. by practising dialy.. grateful to you Hitesh sir

  • @vikaswilliam3407
    @vikaswilliam3407 3 ปีที่แล้ว +1

    in browser promise is getting rejected with error- new-tab-page/:1 Uncaught (in promise) TypeError: Failed to fetch. No response coming Can someone help?

    • @LaveshGarg
      @LaveshGarg 3 ปีที่แล้ว +1

      yes I got the same problem sir please reply

  • @jaydattr9765
    @jaydattr9765 2 ปีที่แล้ว

    4:49 i run it in node environment by installing node modules

  • @RekhaGujar83
    @RekhaGujar83 4 ปีที่แล้ว +1

    First' comments

  • @gurkiransingh1537
    @gurkiransingh1537 4 ปีที่แล้ว

    Sir make a video on CORS

  • @aatirqureshi8817
    @aatirqureshi8817 4 ปีที่แล้ว

    please make a series on AJAX please

  • @PrudhviRajRaavi
    @PrudhviRajRaavi 4 ปีที่แล้ว +1

    Hi Hitesh

  • @hondaxblade2127
    @hondaxblade2127 2 ปีที่แล้ว

    Thanks a lot for helping me 🙂

  • @Mehedihasan-rahat
    @Mehedihasan-rahat 2 ปีที่แล้ว

    Dear Hitesh Bhai plz provide the lecture about Facebook, TH-cam, and Google map API ... Love from Bangladesh

  • @raspberry-digital3886
    @raspberry-digital3886 2 ปีที่แล้ว

    Can you please do a tutorial on how to API into fedex using Javascript. Fedex has a very modern end point that works in JSON. However they don't have very good help. Thanks

  • @sahilmor9147
    @sahilmor9147 3 ปีที่แล้ว

    I need to upload images to firebase and these images are in array .. but when I try to use loop to iterate over images and upload them to firebase .. code didn't wait and executes that part which requires those urls of images ... can anyone help ????

  • @mohamednawaz3751
    @mohamednawaz3751 3 ปีที่แล้ว

    Sir, I came here to expect how to handle API (i.e. how to go through it's documentation, important parts to look etc). Instead this video focus on what promises on javascript.

  • @harishs7384
    @harishs7384 3 ปีที่แล้ว

    Thanks bro

  • @focusfocusfocus5491
    @focusfocusfocus5491 ปีที่แล้ว

    where was this vid till now

  • @UrsellaPaul
    @UrsellaPaul 4 ปีที่แล้ว

    Please post CORS videos aslo

  • @rajkiranchaudhary8769
    @rajkiranchaudhary8769 3 ปีที่แล้ว

    WEll explained.

  • @VijaySolanki-tf6vt
    @VijaySolanki-tf6vt 4 ปีที่แล้ว

    Hitesh shaheb please make video on cors cors origin in detailed video

  • @stiphenrobert4469
    @stiphenrobert4469 4 ปีที่แล้ว

    Is that the API made with laravel? Bcoz i saw created_at and updated_at from the response

  • @arvindersingh9863
    @arvindersingh9863 3 ปีที่แล้ว

    But sir you can use fetch in nodejs with node-fetch package

  • @DevangPatil
    @DevangPatil 4 ปีที่แล้ว

    Json placeholder is also good api.

  • @hamzapaskingakhtar2654
    @hamzapaskingakhtar2654 2 ปีที่แล้ว

    Wonderful explanation. Thanks

  • @ankitkanyal8392
    @ankitkanyal8392 3 ปีที่แล้ว

    Thank you so much Sir loved your Explanation thanks for the js series .Plz upload the cors video and in depth videos explaining like Event bubbling and Event capturing topics.

  • @harshitkumarsoni2544
    @harshitkumarsoni2544 3 ปีที่แล้ว

    Dear sir, I like your personality a lot. Keep uploading such videos. I am learning from you a lot.

  • @alltech-jg9hi
    @alltech-jg9hi 4 ปีที่แล้ว

    nice one thanks, i had a bit of trouble extracting the latitude and longitude variables using bing maps, once, now i know console log is my friend,, thank you Mr Hitesh

  • @akhror-oshie
    @akhror-oshie 3 ปีที่แล้ว

    very good explanation, thanks

  • @MDASIF-wo7ck
    @MDASIF-wo7ck 4 ปีที่แล้ว

    We need mean stack course...
    Like mern stack

  • @chaitanyaasati
    @chaitanyaasati 4 ปีที่แล้ว

    yes sir please make a video on CSRF

  • @robot67799
    @robot67799 2 ปีที่แล้ว

    This is very fun!!

  • @AbhishekKumar-kd7bp
    @AbhishekKumar-kd7bp 4 ปีที่แล้ว

    3:50 one Chrome ext... got removed..

  • @alimagnetic-iransenigma9647
    @alimagnetic-iransenigma9647 4 ปีที่แล้ว

    very good thanks

  • @aatirqureshi8817
    @aatirqureshi8817 4 ปีที่แล้ว

    great resource for JS

  • @ramavhad3586
    @ramavhad3586 4 ปีที่แล้ว

    thanks this video is so use full

  • @sidharth5665
    @sidharth5665 2 ปีที่แล้ว

    Promise state rejectet HELP

  • @vraj3115
    @vraj3115 4 ปีที่แล้ว

    #10minutesJS day 56!

  • @eborne66
    @eborne66 3 ปีที่แล้ว

    Great stuff. Love your teaching methods. Which video were you referring to to take "joke" and put it on the web?
    Thanks