Authorization: Bearer ********************
{
"filepath": "!@#%%…………&*(*0)",
"base64_filepath": "77yBQCMlJeKApuKApuKApuKApiYq77yIKjDvvIk=",
"branch": "tempor_proidentugiat",
"content": "内容11",
"sha": "f0b922501594fc0bffb1635244553fae2dc640d3",
"message": "Update !@#%%…………&*(*0)"
}
curl --location --request PUT 'http://dev-cn.your-api-server.com/api///update_file.json' \
--header 'Cookie: autologin_trustie=3acc38c27d61a347f5c16fbca2c4964b181a2f79' \
--header 'Content-Type: application/json' \
--data-raw '{
"filepath": "!@#%%…………&*(*0)",
"base64_filepath": "77yBQCMlJeKApuKApuKApuKApiYq77yIKjDvvIk=",
"branch": "tempor_proidentugiat",
"content": "内容11",
"sha": "f0b922501594fc0bffb1635244553fae2dc640d3",
"message": "Update !@#%%…………&*(*0)"
}'
{
"status": 1,
"message": "更新成功"
}