命令行中的卷曲无法正常工作(Windows)

时间:2015-08-21 06:10:38

标签: windows curl command-line

我尝试使用下面的curl命令

curl http://image.baidu.com/channel/listjson?pn=0&rn=100&tag1=壁纸

获取返回的JSON源。 URL沿着将在Chrome浏览器中无错误地返回JSON,但是当我在windows命令行中运行上述命令时,我得到了以下错误:

{"tag1":"","tag2":"","totalNum":0,"start_index"   :0,
"return_number" :0,"data":[{}]}'rn' is not recognized as an internal or
 external command,operable program or batch file.
'tag1' is not recognized as an internal or external command,
operable program or batch file.

请帮助检查一下我做错了什么,或者我错过了哪些参数。非常感谢。

0 个答案:

没有答案