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.
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????
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?
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()
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
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
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 ????
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.
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
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.
Full course is FREE and will be available here
courses.learncodeonline.in/learn/Complete-Javascript-course
bro i am unable to login to your website
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
Please upload CORS video .
And thank you for wonderful js course.
who remember the typo of *AUTHETICATED* instead of *AUTHENTICATED* :)
mern bootcamp lol!!
✋
Whenever I am pasting code in the console of chrome its showing
[[PromiseState]]: "rejected"
What should i do
any solution yet?
Change Browser to chrome
Please upload CORS video .
And thank you for wonderful js course.
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.
Video on CORS Please!
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.
Thanks for info.
@@jsjuris8922 np
it is showing error in console as well promise is rejected .any solution ?
@@mansijain8847 i would need a little bit more information regarding it , are you on discord?
thanks it is really helpful
I love this video. API rocks! you really did justice to it. You always have the best video quality on RUclips. Thanks Sir!
Thank you so much sir,
this is the best Javascript course, your teaching is awesome
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????
Dear Hitesh Bhai plz provide the lecture about Facebook, RUclips, and Google map API ... Love from Bangladesh
Want a video on CORS. Please
Whoa! Who else Coffee with JavaScript !😍
Hey, why you learn java with Javascript
@@AbhituklVerse Frontend 😍 plus Backend of web
Sir, Video on cors please
Please make a video about cors sir
Sir please make video on cors
Hi sir
I got type error when I run this code on Chrome browser's console. Please tell me how can I handle this ?
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?
yes I got the same problem sir please reply
When I am running same code on we browser it gives me error😭😭
Sir please update this course of javascript on LCO..
I'm new to api handling .I think i learnt good enough stuff from this video.
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()
Sir please update this course of javascript on LCO..
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
Sir make a detailed video on CORS
Please make a video on CORS, Thanks!
Rajnikant is basically Chuck Norris of India😅
Sir add es6 course in this playlist.. Plz 🙏
4:49 i run it in node environment by installing node modules
Dear Hitesh Bhai plz provide the lecture about Facebook, RUclips, and Google map API ... Love from Bangladesh
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
Thanks eng
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 ????
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.
Thanks a lot for helping me 🙂
Best free course on RUclips
Is that the API made with laravel? Bcoz i saw created_at and updated_at from the response
Thank you so much for this video @Hitesh. This is the explanation I needed for promises.
We need a video on cors sir. I have seen the error a lot but not understand it perfectly what it means.
First' comments
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
Dear sir, I like your personality a lot. Keep uploading such videos. I am learning from you a lot.
where was this vid till now
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.
But sir you can use fetch in nodejs with node-fetch package
Promise state rejectet HELP
Amazing video sir. Classic version of making API calls using simple Javascript. Thanks for providing this content.
Hitesh shaheb please make video on cors cors origin in detailed video
You make things quite simpler to understand sir!! a video on CORS plz.
Great on Hitesh, it's amazing. Love to see CORS yt video soon :)
Hi Hitesh
Json placeholder is also good api.
WEll explained.
Wonderful explanation. Thanks
Great stuff. Love your teaching methods. Which video were you referring to to take "joke" and put it on the web?
Thanks
Catch and throw
Thanks bro
very good explanation, thanks
Tysm Sir
yes sir please make a video on CSRF
Yes sir we need video on CORS please sir...
We need mean stack course...
Like mern stack
Great video searching just now
Please post CORS videos aslo
please make a series on AJAX please
Sir make a video on CORS
Start of the day with Hitesh sir 💐💐💐
3:50 one Chrome ext... got removed..
thanks this video is so use full
A video on cors yess 🙋♂️
This is very fun!!
amazing explanation
great resource for JS
very good thanks
Great video 👍
#10minutesJS day 56!