Computer Science
[Network][스크랩] HTTP Status Code 422 - Unprocessable Entity
개발자 이우진
2024. 8. 2. 16:10
요약
- 요청은 올바르지만 요청을 처리할 수 없을 때 사용한다
- ex) 엔티티의 생성 가능한 최대 개수 초과
https://stackoverflow.com/questions/51990143/400-vs-422-for-client-error-request
400 vs 422 for Client Error Request
I've read a lot of posts and articles regarding proper http status code to return for client request error. Others suggest to use 400 as it has been redefined in RFC 7231 though I'm not sure if the
stackoverflow.com
https://developer.mozilla.org/ko/docs/Web/HTTP/Status/422
422 Unprocessable Content - HTTP | MDN
하이퍼텍스트 전송 프로토콜(HTTP) 422 Unprocessable Content 응답 상태 코드는 서버가 요청 엔티티의 컨텐츠 형식을 이해했고 요청 엔티티의 문법도 올바르지만 요청된 지시를 처리할 수 없음을 나타
developer.mozilla.org