Getting binary content in Node.js using request
I was trying to GET
a binary data using request
, and had something like:
I was trying to GET
a binary data using request
, and had something like:
So I am trying to loop through an array of objects that I got from an http call using to my internal API using the request
module/package. So far, I am able to get my data back from the API and DISPLAY the full object on my page. I would like to display it on my page and loop through it using the EJS templating system. I know I can use AngularJS for frontend stuff, but I would like to see how far I can go with only server-side.
Ok so I am trying to make two or more requests to API endpoints using the request module. I am rendering a HTML file and passing the returned JSON to a handlebars template using the below code: