When you interact with an http resource, there are 5 classes of codes you are supposed to get back. It's easier to remember them if you understand how they are grouped.
100 - informational
200 - success
300 - redirect
400 - client errors
500 - server errors