coursera/naptime

404's thrown within Naptime should return JSON

Opened this issue · 0 comments

A 404 that is triggered within Naptime seems to return content-type text/html and the "Action not found" Play page.

Instead, these should return JSON with the proper error code.

Reproducible by hitting any GET request with a malformed ID