My REST API returns JSON.
I\'m currently returning text/plain as the MIME type, but it feels funny. Should I be returning application/x-javascript or s
application/x-javascript
No, you shouldn't return 200 in an error condition.
It's ok to repeat the status code, or to include a more detailed error code in the response payload.