write:public_key
scope.curl --location --request POST 'https://api.github.com/user/keys' \
--header 'Content-Type: application/json' \
--data-raw '{
"key": "string",
"title": "Personal MacBook Air"
}'
{
"created_at": "2019-08-24T14:15:22Z",
"id": 0,
"key": "string",
"read_only": true,
"title": "string",
"url": "string",
"verified": true
}
Authorization: Bearer ********************
【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通