A
A
Arx7772017-03-31 12:10:19
Node.js
Arx777, 2017-03-31 12:10:19

Sending async request to ip address in node?

Good afternoon, do not tell me how in node js (we use the express framework) to send a POST request asynchronously not to a URI but to an IP address. Currently using requestify https://github.com/ranm8/requestify, it does not allow sending to an IP address. We send to the URI, but we run into the DNS balancer (due to the frequent sending of a large number of requests, now we bypass the natural slowdown in sending requests, but artificial slowdown is not an option in this case), I want to try to take a resolve from it and send it to the returned ip.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BestJS, 2017-03-31
@BestJS

try https://www.npmjs.com/package/request

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question