How to make a request to a page in NodeJS?

-2

I would like to know how to make a request to a page using NodeJS. Basically, I need to make a request to a webservice that supplies data from posts based on the informed zip and from the given response (which comes in json format), handle the data and perform some operations. I am a beginner on node and do not know how to do this. I'm using the express 4.x framework in the project. Thank you in advance for your cooperation!

    
asked by anonymous 15.01.2018 / 15:38

1 answer

0

you can use the axios or superagent to make requests on any API from within your nodejs code

    
31.01.2018 / 18:44