You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The endpoint api/v1/blogs/{blog_id}/dislike which enables users to create a BlogDislike object on blog posts is currently using a PUT method which is not meant for creation of new objects. This issue seeks to change it to POST which is appropriate, and update relevant tests.
Expected Behavior
The endpoint should utilize a POST method to ensure best practice.
Screenshots
Acceptance Criteria:
Stick to the changes required to fix the particular bug mentioned in description.
Do not change other people's code without appropriate permission.
Testing:
Write test for all updates requiring one
Ensure all existing tests passes [without tampering], alongside the new ones added
The text was updated successfully, but these errors were encountered:
Description
The endpoint
api/v1/blogs/{blog_id}/dislike
which enables users to create a BlogDislike object on blog posts is currently using a PUT method which is not meant for creation of new objects. This issue seeks to change it to POST which is appropriate, and update relevant tests.Expected Behavior
The endpoint should utilize a POST method to ensure best practice.
Screenshots
Acceptance Criteria:
Testing:
The text was updated successfully, but these errors were encountered: