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.
Code GIST: https://gist.github.com/prof3ssorSt3v...
Sur cette page du site, vous pouvez voir la vidéo en ligne Making HTTP Requests from NodeJS durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Steve Griffith - Prof3ssorSt3v3 07 octobre 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 54,758 fois et il a aimé 682 téléspectateurs. Bon visionnage!