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.
Requirement
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:
Requirement
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.
Video link for more: https://www.loom.com/share/c02eda8905b74e94926fc1ecbdc0e119