Y
Hacker News
new
|
ask
|
show
|
jobs
by
Dementor430
480 days ago
Whats the point of doing this? I am curious now
1 comments
nathan_f77
480 days ago
It's just an easter egg in case someone accidentally clicks on api.docspring.com or sends an API request without a path. I thought it would be more fun than a generic 404 error like this:
{ "status": "error", "error": "Unrecognized request URL (GET: /) }
link