Authorization: Bearer ********************
{ "postId": 1 }
curl --location --request POST 'http://localhost:9999/api/posts/publish' \ --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36' \ --header 'Content-Type: application/json' \ --data-raw '{ "postId": 1 }'
{ "code": 0, "msg": "string", "data": 0 }