我可以高兴地在CURL或浏览器下面获得以下URL,但是当我尝试使用节点时,我收到ECONNREFUSED错误。 试试这个代码... var request = require('request')
var url = "https://fbcdn-dragon-a.akamaihd.net/hphotos-ak-ash3/t39.2365-6/851565_602269956474188_91
我可以从Windows应用程序访问我的Web API服务器,没有问题。从Android的,虽然是a different story 为什么会是这样? 是 “localhost” 的使用(以URL)错误的事情?我应该使用电脑的名字吗? 是否字符串(字面通过为“http://localhost:28642/api/Departments/GetCount?serialNum=4242”)需要被verb
我写了一些代码使用模块cheerio,请求和longjohn昨天工作,但今天它总是抛出“ECONNREFUSED”错误。 我尝试使用,使用简单的示例代码的请求: var request = require('request');
request('http://www.google.com', function (error, response, body) {
if (!error