node.js - I want to request an interface using superagent
漂亮男人2017-06-19 09:07:53
0
1
822
I want to use superagent to request this interfacehttp://hq.sinajs.cn/list=sh600138. How can I output the returned data on the console? Masters, I am still on it. Kindergarten please answer
I took a look at your interface, because Content-Type:application/x-javascript; charset=GBK is not a buffer type, so it cannot be parsed directly, just convert it to buffer.
I took a look at your interface, because
Content-Type:application/x-javascript; charset=GBK
is not a buffer type, so it cannot be parsed directly, just convert it to buffer.