News for hackers. Stuff that matters.
Re:Show HN: I gave my API a JSON homepage by nathan_f77 on Wednesday February 26, 2025 @03:39PM (#43187954)
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: /)
    }

There are no comments on this comment yet.