500 error for invalid JSON on POST request
Closed this issue · 1 comments
aaronkavlie-wf commented
If the user submits invalid JSON on a POST request, it results in a 500 error. 400 is expected.
This is set explicitly in the handleCreate method.
handleUpdateList sets the correct status code for invalid JSON.
tylertreat-wf commented
Resolved with #44.