Like
Developing
POST
/news/{news_id}/like
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:8080/news//like' \
--header 'Authorization: ' \
--header 'user-email: userA@gmail.com' \
--header 'Content-Type: application/json'
Response Response Example
{}
Request
Path Params
news_id
string
required
Header Params
Authorization
string
optional
Example:
{{token_type}} {{access_token}}
Content-Type
string
optional
Example:
application/json
user-email
string
optional
Example:
userA@gmail.com
Responses
Modified at 2025-04-16 23:06:55