curl --location --request GET 'https://api.github.com/repos///readme/'
{
"_links": {
"git": "http://example.com",
"html": "http://example.com",
"self": "http://example.com"
},
"content": "string",
"download_url": "http://example.com",
"encoding": "string",
"git_url": "http://example.com",
"html_url": "http://example.com",
"name": "string",
"path": "string",
"sha": "string",
"size": 0,
"submodule_git_url": "\"git://example.com/defunkt/dotjs.git\"",
"target": "\"actual/actual.md\"",
"type": "string",
"url": "http://example.com"
}
Authorization: Bearer ********************
master
)【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通