3 ms·
Anyone else just get a JSON 404 page from this link? { statusCode: 404, error: "Not Found", message: "Not Found" }
by stickfigure 7y ago
Anyone else just get a JSON 404 page from this link?
{
statusCode: 404,
error: "Not Found",
message: "Not Found"
}
- u801e 7y agoI tried it just now and was able to see the article. On another note, why do they include the HTTP status code in the JSON body? Isn't it already present in the status line of the HTTP response?
- greglindahl 7y agoPeople using funky software stacks don't always have access to the status line information, so some APIs include the status in json.
- ksaj 7y agoI got that error from another article linked to Wired from HN the other day. After a short time, I clicked again and all was fine. Something wonky is going on there, since it probably shouldn't even be 404 unless they keep deleting their articles and then resurrecting them shortly thereafter (which would be just a little weird).