HTTP status codes ਨੂੰ ਉਹਨਾਂ ਦੇ ਪਹਿਲੇ ਅੰਕ ਅਨੁਸਾਰ ਪੰਜ ਵਰਗਾਂ ਵਿੱਚ ਵੰਡਿਆ ਗਿਆ ਹੈ, ਅਤੇ ਸਹੀ ਚੁਣਨਾ clients ਨੂੰ body ਨੂੰ parse ਕੀਤੇ ਬਿਨਾਂ ਸਹੀ ਪ੍ਰਤੀਕਿਰਿਆ ਕਰਨ ਦਿੰਦਾ ਹੈ।
2xx Success — the request worked
3xx Redirection — further action / resource moved
4xx Client error — the caller did something wrong
5xx Server error — the server failed
ਉਹ codes ਜੋ ਤੁਸੀਂ ਅਸਲ ਵਿੱਚ ਵਰਤਦੇ ਹੋ
2xx
