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
Vote to accept: /bhap/{id}/vote-accept
Vote to reject: /bhap/{id}/vote-reject
Delete a vote: /bhap/{id}/delete-vote
Gross. What was I thinking? Instead there should be one endpoint. Accepts and rejects should send POSTs and have their accept/reject value in the body. A DELETE request will delete the vote.
The text was updated successfully, but these errors were encountered:
Right now there are three main voting endpoints:
Vote to accept:
/bhap/{id}/vote-accept
Vote to reject:
/bhap/{id}/vote-reject
Delete a vote:
/bhap/{id}/delete-vote
Gross. What was I thinking? Instead there should be one endpoint. Accepts and rejects should send POSTs and have their accept/reject value in the body. A DELETE request will delete the vote.
The text was updated successfully, but these errors were encountered: