[英]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.