Friday, February 3, 2012

NodeJs : REST Call Using http Library

Here I am showing how to bypass the incoming request to another site or how to do the operation like curl.

In the following code, your local Node server got incoming request via port 1337 and send it to "Google Maps API". And write the response (which is get from API) in your browser. 
Now write following code.


Note: Please write your queries and suggestion as comment.

No comments:

Post a Comment