当我用
curl https://api.github.com/search/repositories?q=python+created:>2009-04-11&+page=2 -otest. 这是个错误。我得到错误-‘页面’不被识别为一个内部或外部命令,可操作的程序或批处理文件。
当我在浏览器上尝试相同的命令时
https://api.github.com/search/repositories?q=python+created:>2009-04-11及+页=2
它起作用了。请您纠正一下curl命令有什么问题吗?
发布于 2017-09-26 14:14:01
在引号中写入URL:
curl "https://api.github.com/search/repositories?q=python+created:>2009-04-11&+page=2" -otest. >和&在壳中有着特殊的意义。
https://stackoverflow.com/questions/46428516
复制相似问题