GitHub API创建Repo返回403?
我正在制作一个GitHub应用程序,并试图根据此文档创建一个回购协议 当我向该URL发出GET请求时,它会起作用,我会得到用户的回复,但发出如下post请求:GitHub API创建Repo返回403?,github,request,github-api,github-api-v3,github-app,Github,Request,Github Api,Github Api V3,Github App,我正在制作一个GitHub应用程序,并试图根据此文档创建一个回购协议 当我向该URL发出GET请求时,它会起作用,我会得到用户的回复,但发出如下post请求: curl --request POST \ --url https://api.github.com/user/repos \ --header 'authorization: token [user_access_token]' \ --data '{"name": "test"}
curl --request POST \
--url https://api.github.com/user/repos \
--header 'authorization: token [user_access_token]' \
--data '{"name": "test"}'
还这个
{
"message": "Resource not accessible by integration",
"documentation_url": "https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user"
}
我的应用有权访问此权限: