curl --location --request POST 'https://api.github.com/repos///git/blobs' \
--header 'Content-Type: application/json' \
--data-raw '{
"content": "Content of the blob",
"encoding": "utf-8"
}'
{
"sha": "string",
"url": "string"
}
content
. Currently, "utf-8"
and "base64"
are supported.