I suggest you ...

404 response in JSON

While testing an app, if we try making a call to an invalid mock (which results in 404 page) we get the response in html. Since API calls don't deal in html it would make more sense to get the http_sc (i.e. 404 not found) in json. This way the json parsers being used don't start throwing out errors.

6 votes
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Anonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base