Content-Length
to zero when calling out to this endpoint. For more information, see "HTTP verbs."curl --location --request PUT 'https://api.github.com/repos///issues//lock' \
--header 'Content-Type: application/json' \
--data-raw '{
"lock_reason": "off-topic"
}'
{}
Authorization: Bearer ********************
off-topic
too heated
resolved
spam
【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通