Updated on 2022-12-01 GMT+08:00

Status Codes

  • Normal

    Returned Value

    Description

    200 OK

    The request has been successfully processed.

    201 Created

    The request has been successfully processed and a resource has been created.

    202 Accepted

    The request has been accepted but may not be processed immediately.

    204 No Content

    The request has been successfully processed, but there is no need to send any data back.

  • Abnormal

    Returned Value

    Description

    400 Bad Request

    The request failed to be processed due to bad syntax.

    401 Unauthorized

    A username and a password are required to access a page.

    403 Forbidden

    The requested page cannot be accessed.

    404 Not Found

    The requested page cannot be found.

    405 Method Not Allowed

    A method in the request is not allowed.

    406 Not Acceptable

    The response cannot be accepted by the client.

    407 Proxy Authentication Required

    The client must be authorised by the proxy before the request can proceed.

    408 Request Timeout

    The request timed out.

    409 Conflict

    Failed to complete the request due to a conflict.

    500 Internal Server Error

    Failed to complete the request due to a system error.

    501 Not Implemented

    Failed to complete the request because the server does not support all that is needed for the request to be completed.

    502 Bad Gateway

    Failed to complete the request because the server has received an invalid response from an upstream server.

    503 Service Unavailable

    Failed to complete the request because the server is unavailable.

    504 Gateway Timeout

    The server has waited too long for a response from an upstream server.