Today I learned the difference between 400 vs. 500 Errors.

“In REST, both 4xx and 5xx types of codes denote an error. The main difference between the two is whose fault that error is.

A 4xx code indicates an error caused by the user, whereas 5xx codes tell the client that they did everything correctly and it's the server itself who caused the problem.”

Reply to this note

Please Login to reply.

Discussion

error 402 is a neat one if you have the time to check it out

I’ll take a look

The two groups you can sort people in:

The 4xx'ers and the 5xx'ers. Some will always say their misery is someone's else's fault, some always put the blame on themselves. Both extremely unhealthy, unproductive and annoying.

One tries to leech empathy, one invokes rage that leaks energy out of you.

In a world of 4xx'ers and 5xx'ers, be a 127.0.0.1 and stay real.