Making HTTP Requests from NodeJS

preview_player
Показать описание
This tutorial explains how you can make an HTTP request for a text, json, or binary image file from NodeJS. A demonstration is made that shows how to fetch a json file from an API which is returned to the node script. Another demo is made to fetch a binary image which is saved to the local server.
The practical application of this is being able to find and return resources from your Node web server that are not located on your server.

Рекомендации по теме
Комментарии
Автор

I wanted to know what the individual lines of code meant on the get request and this video just clarified everything. Thanks a lot!

voidmother
Автор

you have no idea for how long i searched for a way to do this.

you, steve, are my hero!

taureon_
Автор

Your explanation of each line of code is so beneficial. Thank you!

StriverHamza
Автор

Thank you for explaining the data and end events. I didn’t look into it super far but that confused me at first

bowiemtl
Автор

Hey Steve, thank you for ur vedios.. can u pls let me know, when we request on a html page it should display the excel sheet data which is table format and need to be displayed in table format itself..and i need a search button, and a refresh option to load the data, I created a nodejs web server..can u pls explain me how to do this..thank u ..

blessinagolle
Автор

I really want this channel to grow to get rewarded for the efforts you put into this! thank you so much.

theartist
Автор

I feel like i am listening node.js lessons from Walter White :) Really helpful and nice voice! Thanks.

Mckir
Автор

Flawless explanation. Thank you Professor!

JoseGarcia
Автор

Thank you so much. I really like how you explained each line of code and provided a link to the code.

lkwzubb
Автор

How do I get and blob and convert it into video?

nikhilreddydev
Автор

What about axios? Please tell which module support pool of requests? Example - sending 1000 requests but send pool of 20 requests at a time, like we do with guzzle http library in php.

mannumannu
Автор

I've said it before I will say it again, excellent video, excellent voice

cathalbrady
Автор

how can we find the picture of some another date ?

RayBlocks
Автор

Thanks for your excellent, useful explanations...always learn something new.

quaternion-pi
Автор

Thanks Steve, it helped me a lot. Keep sharing your knowledge.

harshbhadoria
Автор

How to resolve the callback hell here?

saurabhgokul
Автор

how do you save the data onto a different variable or a global one?

robinkelmen
Автор

why do i get access denied HTML back :(

dankquaman
Автор

What do you do with so many browsers??

adityarana
Автор

Whats the name of the vs plugin for colors in tab space? Thank you!