REST Api HTTP 상수 요약

REST Api HTTP 상수 요약

integer HTTP_BAD_REQUEST The request cannot be fulfilled due to multiple errors #400

integer HTTP_CONFLICT The request could not be completed due to a conflict with the current state of the resource #409

integer HTTP_CREATED The server successfully created a new resource #201

integer HTTP_FORBIDDEN The requested resource is unavailable at this present time #403

integer HTTP_INTERNAL_SERVER_ERROR The server encountered an unexpected error #500

integer HTTP_METHOD_NOT_ALLOWED The request method is not supported by the following resource #405

integer HTTP_NOT_ACCEPTABLE The request was not acceptable #406

integer HTTP_NOT_FOUND The requested resource could not be found #404

integer HTTP_NOT_IMPLEMENTED The server does not recognise the request method #501

integer HTTP_NOT_MODIFIED The resource has not been modified since the last request #304

integer HTTP_NO_CONTENT The server successfully processed the request, though no content is returned #204

integer HTTP_OK The request has succeeded #200

from http://devlink.tistory.com/480 by ccl(A) rewrite - 2021-01-05 13:25:40