Closed SudoPlz closed 8 years ago
It should result in application/json.
application/json
How to reproduce: Post to the endpoint with body:
{ email: 'whatever', password: 'whateverPass' }
this results in {"errors":[{"email":"A valid email address is a required"}]} in text/plain;charset=utf-8 format instead of application/json.
{"errors":[{"email":"A valid email address is a required"}]}
text/plain;charset=utf-8
Closely related to https://github.com/PlaceAVote/pav-user-api/issues/27
It should result in
application/json
.How to reproduce: Post to the endpoint with body:
this results in
{"errors":[{"email":"A valid email address is a required"}]}
intext/plain;charset=utf-8
format instead ofapplication/json
.Closely related to https://github.com/PlaceAVote/pav-user-api/issues/27