Friday 11 August 2017

How to use response from Request.js ?

I am sending an AJAX request from a webpage to a node server with Express and from the node server I am processing that request and then sending it to another server with Request.js. The node server is successfully receiving the response but Request.js doesn’t allow us to return that response in any format (We can print the data though). Should I use a different HTTP request module or am I not using Request.js properly?Webpage --AJAX request--> Node Server --Request--> Server

Submitted August 12, 2017 at 12:24AM by SaintPeen

No comments:

Post a Comment