Closed jaydanluo closed 8 years ago
as the title said... when I used the api to get the qrcode, I get stuck at the codes below. api_common.js
var res = yield httpx.request(url, options); console.log(res);//couldn't get the res utill time was out
but when I changed the codes, It worked fine..
var res = yield httpx.request("www.baidu.com", options); console.log(res);//got it!
then I used the "koa-request" instead of "httpx", both of the above worked fine! So I was wondering if I should count on the version of node?
I changed the node version to 4.1.1 and got the problem soldved!
as the title said... when I used the api to get the qrcode, I get stuck at the codes below. api_common.js
but when I changed the codes, It worked fine..
then I used the "koa-request" instead of "httpx", both of the above worked fine! So I was wondering if I should count on the version of node?