1. News
Pynews
  • Authentication
    • Athenticate
      POST
  • News
    • Create
      POST
    • Get
      GET
    • Like
      POST
  • Libraries
    • Create Subscription
      POST
    • Add new Library
      POST
    • GET List of the last 30 days updates
      GET
  1. News

Like

Developing
POST
/news/{news_id}/like

Request

Path Params

Header Params

Responses

🟢200Success
application/json
Bodyapplication/json

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
{
    "total_likes": 0
}
Modified at 2025-08-05 00:01:21
Previous
Get
Next
Create Subscription
Built with