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