How do you know if an HTTP request succeeded?

Name a few HTTP return codes and explain what they are (200, 400, 503)