Open joaopapereira opened 8 years ago
To simplify this my idea was:
I think that overloading the standard HTTP codes is not a good idea.
For instance:
201 Created The request has been fulfilled, resulting in the creation of a new resource.
So the api should return a 201
every time a new vote
is created.
As a Bot When I can a User vote I should be informed if the vote ended