[英]curl url to get the json file for issues in my repository
我刚刚开始使用github api从我们的存储库中提取问题记录。 当我打
curl -k -H "Content-Type: application/json" https://2b9e36bvb9e36b82d38b9c0ab2b9e36b82d3:x-oauth-basic@rnd.git.corp/newlands/hello-world/issues
我得到以下输出。
> <html><body>You are being <a
> href="https://rnd.git.corp/login?return_to=https%3A%2F%2Frnd.git.corp%2Fnewlands%2Fhello-world%2Fissues">redirected</a>.</body></html>
我的curl命令有什么问题吗? 理想情况下,应该按照git api doc在我的存储库中打印问题列表。 感谢对此的任何帮助。
如果rnd.git.corp
是根据URL来api.github.com
,你也许只是错过/repos
,如https://rnd.git.corp/repos/newlands/hello-world/issues
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.