【发布时间】:2013-08-19 00:46:30
【问题描述】:
当我在终端上尝试这个时:
curl https://stream.twitter.com/1.1/statuses/filter.json?delimited=length&track=twitterapi:
它返回这个 html 文档:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Error 401 Unauthorized</title>
</head>
<body>
<h2>HTTP ERROR: 401</h2>
<p>Problem accessing '/1.1/statuses/filter.json?delimited=length'. Reason:
<pre> Unauthorized</pre>
</body>
</html>
它应该返回大量的 json 数据,你知道为什么会这样吗?
【问题讨论】: