5 ways to make Node.js HTTP requests

Опубликовано: 30 Ноябрь 2021
на канале: LogRocket
7,006
69

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  


Смотрите видео 5 ways to make Node.js HTTP requests онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь LogRocket 30 Ноябрь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 7,006 раз и оно понравилось 69 людям.