HTTP
-
HTTP 에러개발공부/기타 2024. 1. 5. 10:10
오늘은 HTTP 에러에 대해 공부하고자 한다. 요즘 지인들과 프로젝트 진행중인데 HTTP 에러의 원인이 헷갈리는 경우가 있어 한번 정리해보면 좋을 거 같아 이렇게 글을 쓴다. 다른 사람들도 같이 숙지해서 프로젝트를 원활하게 진행했으면 좋겠다! :) HTTP 에러 클라이언트와 서버 간 통신 중에 발생하는 문제를 나타낸다. 이제 종류 별로 하나씩 정리해보자! 100번대 요청이 받아들여졌거나 진행중 100 (Continue): 클라이언트가 요청 본문을 계속 전송해도 좋음을 나타냄 200번대 요청이 성공적으로 처리됨 (Success) 200 (OK): 요청이 성공적으로 처리 201 (Created): 새로운 리소스가 성공적으로 생성 204 (No Content): 요청은 성공적으로 처리되었지만 응답 본문이 없음..