curl --location --request POST 'https://api.github.com/repos///labels' \
--header 'Content-Type: application/json' \
--data-raw '{
"color": "f29513",
"description": "Something isn'\''t working",
"name": "bug"
}'
{
"color": "FFFFFF",
"default": true,
"description": "Something isn't working",
"id": 208045946,
"name": "bug",
"node_id": "MDU6TGFiZWwyMDgwNDU5NDY=",
"url": "https://api.github.com/repositories/42/labels/bug"
}
Authorization: Bearer ********************
#
.:strawberry:
will render the emoji 【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通