我正在尝试使用 GitHub 存储库创建问题:
curl -d '{"title":"my-new-repo","body":"my new issue description"}' https://api.github.com/repos/np98765/BattleKits/issues
这只是返回:
{
"message": "Not Found"
}
我正在像这样进行身份验证:
curl -u "user:password" https://api.github.com
我究竟做错了什么? http://developer.github.com/v3/issues/#create-an-issue