cURL equivalent in Node.js?

后端 未结 18 595
误落风尘
误落风尘 2020-11-29 16:43

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

In PHP I would have used cUR

18条回答
  •  一整个雨季
    2020-11-29 16:44

    Request npm module Request node moulde is good to use, it have options settings for get/post request plus it is widely used in production environment too.

提交回复
热议问题