2
有很多github API的例子。但是,我一直無法辨別如何使用cURL和API將其放到github上。特別是,我試圖自動關注用戶。 我已經試過:如何使用curl放入github API?
curl --user "myusername:mypassword" -X PUT "/myusername/following/personIdliketofollow" https://api.github.com/
還有:
curl --user "myusername:mypassword" -X PUT "" https://api.github.com/myusername/following/personIdliketofollow
及其多種組合。 我看了here,here和here等sites。