jsonplaceholder icon indicating copy to clipboard operation
jsonplaceholder copied to clipboard

Requesting an unrecognized resource returns an empty response instead of 404

Open igorsantos07 opened this issue 11 years ago • 3 comments

A GET /santa-claus should return 404 instead of an empty object, right? Relates to #7 as it reported the same request returning 500.

Additionally, GET /santa-claus/1 returns an Express error.

igorsantos07 avatar May 14 '14 15:05 igorsantos07

It should, you're right. Thanks for creating an issue.

However, I have other projects I'd like to work on. So, unfortunately, I don't think I'll fix it soon.

typicode avatar May 15 '14 22:05 typicode

You're welcome :)

I know how you feel, I've been overwelmed by work stuff and my OS projects are taking dust :( Good luck for both of us, the project in the current state have already helped a lot :D

igorsantos07 avatar May 18 '14 02:05 igorsantos07

Thanks for your understanding, and really glad it already helped :)

typicode avatar May 19 '14 09:05 typicode