There is a need to update the HTTP method used for the "dislike" functionality. Currently, the endpoint is using the PUT method, which is incorrect for the blog. The correct method should be POST, as this action is meant to create a new record or modify.
Acceptance Criteria
Update Endpoint Method:
Change the HTTP method for the dislike operation on the blog feature from PUT to POST.
Requirements
Ensure that the API documentation is updated to reflect this change.
Include examples of the correct usage of the POST method for the dislike endpoint.
Expected Outcome
Update the HTTP method for the dislike endpoint.
Review and update the unit tests to reflect this change.
Description
There is a need to update the HTTP method used for the "dislike" functionality. Currently, the endpoint is using the PUT method, which is incorrect for the blog. The correct method should be POST, as this action is meant to create a new record or modify.
Acceptance Criteria
Update Endpoint Method: Change the HTTP method for the dislike operation on the blog feature from PUT to POST.
Requirements
Ensure that the API documentation is updated to reflect this change. Include examples of the correct usage of the POST method for the dislike endpoint.
Expected Outcome
Update the HTTP method for the dislike endpoint. Review and update the unit tests to reflect this change.