더북(TheBook)

33.1.3 HTTP 상태 코드

HTTP 상태 코드(Status Code)는 Web API 호출 후 그에 맞는 결과를 표시할 때 출력되는 코드다. 주요 상태 코드는 다음과 같다.

200: OK

201: Created

202: Accepted

302: Found(Redirect)

400: Bad Request

401: Unauthorised

404: Not Found

500: Server Error

504: Gateway Timeout