0
этот мой код для отправки http-запроса. Что-то не так, почему мой запрос не заканчивается?Завершение HTTP-запроса в узле Js
var req = http.request(options, function(res) {
res.setEncoding('utf8');
res.on('data', function(chunk) {
console.log('Response: ' + chunk);
});
});
req.write(uid);
req.end(); //i think this line will end the requset, but not.
Спасибо за ответ, ребята.