Learn how to make HTTP requests in Node.js including using different libraries like Axios, Got, SuperAgent, and node-fetch with frontend developer Lewis Cianci.
You can find the original blog post here on the LogRocket blog: https://blog.logrocket.com/5-ways-to-...
00:00 LogRocket intro
00:15 Why do I need different ways to make HTTP requests in Node?
01:56 Client options for HTTP requests in Node.js
02:06 Standard Node.js HTTP(S) module
04:04 Can Axios be used in Node.js?
04:27 Installing Axios with npm
04:45 How Axios works in Node.js for HTTP requests
05:53 Using Got for HTTP requests in Node.js
06:18 Installing Got with npm
06:33 How Got works in Node.js for HTTP requests
07:01 Using SuperAgent for HTTP requests in Node.js
07:42 Installing SuperAgent with npm
07:52 Calling the JSON API with SuperAgent
09:13 Using node-fetch for HTTP requests in Node.js
09:39 Installing node-fetch with npm
09:49 Using the async await pattern for node-fetch
10:35 Deciding which HTTP request method in Node.js is right
LogRocket is a frontend monitoring solution that combines session replay, performance monitoring, and product analytics to help software teams create an ideal product experience. Try it for free: http://logrocket.com/yt
Links
/ logrocket
/ logrocket
/ @flutterfromscratch9913
/ flutterfromscratch
Watch video 5 ways to make Node.js HTTP requests online without registration, duration hours minute second in high quality. This video was added by user LogRocket 30 November 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 7,006 once and liked it 69 people.