Pynews
  1. News
Pynews
  • Authentication
    • Athenticate
      POST
  • News
    • Create
      POST
    • Get
      GET
    • Update
      PUT
    • 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 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

🟢200Success
application/json
Body
object {0}
Modified at 2025-04-16 23:06:55
Previous
Update
Next
Create Subscription
Built with