0
我尝试使用GitHub的API明星回购:怎样明星GitHub的API回购
curl -X PUT -H "Authorization: token *****************" https://api.github.com/user/starred/fulldecent/system-bus-radio
但反应总是
{
"message": "Not Found",
"documentation_url": "https://developer.github.com/v3"
}
而且我也尝试alamofire
Alamofire.request(.PUT, "https://api.github.com/user/starred/"+repoFullName, headers: ["Authorization": "token \(token)"]).responseJSON{ response in
......
}
但我仍然无法完成
请参阅[关于Github范围的这个答案](http://stackoverflow.com/a/13790516/1149962)。 – cyanbeam