웹 & 인증

HTTP 상태 코드 참조 - 전체 상태 코드 가이드

무료 온라인 HTTP 상태 코드 참조. 설명, 카테고리 및 주요 활용 사례가 포함된 모든 HTTP 응답 상태 코드를 검색하고 찾아보세요.

무료 사용 가입 불필요 브라우저에서 실행

도구 작업 영역

1xx Informational

100
Continue

The server has received the request headers and the client should proceed.

101
Switching Protocols

The server is switching protocols as requested (e.g., WebSocket upgrade).

2xx Success

200
OK

The request succeeded. Standard response for successful HTTP requests.

201
Created

The request succeeded and a new resource was created. Common after POST requests.

204
No Content

The request succeeded but there is no content to return. Common for DELETE.

206
Partial Content

The server is delivering only part of the resource due to a range header.

3xx Redirection

301
Moved Permanently

The resource has been permanently moved to a new URL. Use for SEO redirects.

302
Found

The resource is temporarily at a different URL. Often used in OAuth redirects.

304
Not Modified

The resource has not been modified since the last request. Use cached version.

307
Temporary Redirect

Like 302 but preserves the HTTP method. Used in HSTS redirects.

308
Permanent Redirect

Like 301 but preserves the HTTP method.

4xx Client Error

400
Bad Request

The server cannot process the request due to invalid syntax or parameters.

401
Unauthorized

Authentication is required. The client must provide valid credentials.

403
Forbidden

The client does not have permission to access the resource, even with auth.

404
Not Found

The requested resource does not exist on the server.

405
Method Not Allowed

The HTTP method is not supported for the requested resource.

409
Conflict

The request conflicts with the current state of the resource.

410
Gone

The resource is permanently gone and will not be available again.

413
Payload Too Large

The request body exceeds the server limit.

415
Unsupported Media Type

The media type in the request is not supported by the server.

422
Unprocessable Entity

The request is well-formed but contains semantic errors (used in APIs).

429
Too Many Requests

The user has sent too many requests in a given time. Rate limiting.

5xx Server Error

500
Internal Server Error

Generic server error. Something unexpected went wrong.

502
Bad Gateway

The server received an invalid response from an upstream server.

503
Service Unavailable

The server is temporarily unable to handle the request (maintenance/overload).

504
Gateway Timeout

The upstream server did not respond in time.

HTTP 상태 코드란?

HTTP 상태 코드는 클라이언트 요청에 대한 응답으로 웹 서버가 반환하는 세 자리 숫자입니다. 요청이 성공했는지, 리디렉션되었는지, 클라이언트 오류가 발생했는지, 서버 오류가 발생했는지 여부를 나타냅니다. 상태 코드는 1xx(정보), 2xx(성공), 3xx(리디렉션), 4xx(클라이언트 오류) 및 5xx(서버 오류)의 다섯 가지 범주로 그룹화됩니다. 웹 애플리케이션과 서비스를 구축, 디버그, 모니터링해야 하는 웹 개발자, API 디자이너, 시스템 관리자에게는 이러한 코드를 이해하는 것이 필수적입니다.

HTTP 상태 코드 참조를 사용하는 방법

  1. 1카테고리(1xx~5xx)별로 정리된 HTTP 상태 코드의 전체 목록을 찾아보세요.
  2. 2검색 필드를 사용하여 숫자, 이름 또는 설명별로 코드를 필터링합니다. 예를 들어 '404' 또는 'redirect'을 입력하세요.
  3. 3각 상태 코드에는 숫자 코드, 공식 이름, 사용 시기 및 방법에 대한 간결한 설명이 표시됩니다.
  4. 4Color로 코딩된 카테고리를 사용하면 성공(녹색), 리디렉션(노란색), 클라이언트 오류(주황색), 서버 오류(빨간색)를 쉽게 구분할 수 있습니다.
  5. 5API 응답을 디버깅하거나, 웹 서버를 구성하거나, 오류 처리 논리를 작성하는 동안 이 참조를 사용하세요.

Common HTTP 상태 코드 참조 - 전체 상태 코드 가이드 use cases

Developer debugging

Use HTTP 상태 코드 참조 - 전체 상태 코드 가이드 to quickly inspect generated output, API payloads, configuration values, or encoded data while building and debugging software.

Review before reuse

Validate or transform http, status code, 200, 404, 500, 301 before adding the result to a project, document, form, message, or shared file.

Privacy-first browser processing

Run common http, status code, 200, 404, 500, 301 tasks locally in the browser without sending sensitive development data to a backend service.

자주 묻는 질문

401와 403의 차이점은 무엇입니까?

401 Unauthorized는 요청에 유효한 인증 자격 증명이 부족하여 사용자가 로그인해야 함을 의미합니다. 403 Forbidden는 서버가 요청을 이해했으며 사용자가 인증될 수 있지만 리소스에 액세스할 수 있는 권한이 없음을 의미합니다.

200, 201, 204는 언제 사용해야 합니까?

성공적인 GET 요청과 일반적인 성공을 위해서는 200 OK를 사용하세요. 새 리소스를 생성하는 성공적인 POST 후에 201 생성됨을 사용합니다. DELETE 작업과 같이 본문을 반환하지 않는 성공적인 요청에는 204 No Content를 사용합니다.

301 리디렉션과 308 리디렉션의 차이점은 무엇입니까?

둘 다 영구 리디렉션입니다. 301를 사용하면 클라이언트가 HTTP 메서드를 변경할 수 있습니다(예: POST가 GET가 될 수 있음). 308에서는 클라이언트가 원래의 HTTP 메서드를 보존해야 합니다. 대부분의 웹사이트 리디렉션에서는 301가 표준입니다. 308는 분석법 보존이 중요한 경우에 사용됩니다.