slifty slifty - 1 year ago 325
Node.js Question

Curl equivalent in nodejs?

I'm looking to use information from an HTTP request using nodejs (i.e. call a remote web service and echo the response to the client).

In PHP I would have used curl to do this. What is the best practice in node?

Answer Source

See the documentation for the HTTP module for a full example:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download