If this happens to you with postman remember to check that the header accepts json. Accept: application/json Content-Type: application/json