When we handle users who are already in a competition, we imply that the status code is a 422 in the JSON response, but actually still send a plain ol' 200. I actually think this is a good thing (since it's still a successful response!) but something to talk about and potentially update for clarity.
// 200 OK
{
"error": {
"code": 422,
"message": "User Already In Competition"
}
}
When we handle users who are already in a competition, we imply that the status code is a
422
in the JSON response, but actually still send a plain ol'200
. I actually think this is a good thing (since it's still a successful response!) but something to talk about and potentially update for clarity.