forked from docs/enterprise-router
For de Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: proposalbot <proposalbot@otc-service.com> Co-committed-by: proposalbot <proposalbot@otc-service.com>
57 lines
6.4 KiB
ReStructuredText
57 lines
6.4 KiB
ReStructuredText
:original_name: StateCode.html
|
|
|
|
.. _StateCode:
|
|
|
|
Status Codes
|
|
============
|
|
|
|
.. table:: **Table 1** Normal status codes
|
|
|
|
+-----------------------+-----------------------+-------------------------------------------------------------------+
|
|
| Status Code | Message | Description |
|
|
+=======================+=======================+===================================================================+
|
|
| 200 | OK | Normal response code for the GET, PUT, and POST operations |
|
|
+-----------------------+-----------------------+-------------------------------------------------------------------+
|
|
| 201 | Created | Normal response code for POST operations |
|
|
+-----------------------+-----------------------+-------------------------------------------------------------------+
|
|
| 202 | Accepted | Operations that take a long time to process. |
|
|
| | | |
|
|
| | | The request has been accepted but the processing is not complete. |
|
|
+-----------------------+-----------------------+-------------------------------------------------------------------+
|
|
| 204 | No Content | Normal response code for DELETE operations |
|
|
+-----------------------+-----------------------+-------------------------------------------------------------------+
|
|
|
|
.. table:: **Table 2** Abnormal status codes
|
|
|
|
+-------------+-------------------------------+--------------------------------------------------------------------------------------------------------+
|
|
| Status Code | Message | Description |
|
|
+=============+===============================+========================================================================================================+
|
|
| 400 | Bad Request | The server failed to process the request. |
|
|
+-------------+-------------------------------+--------------------------------------------------------------------------------------------------------+
|
|
| 401 | Unauthorized | You must enter a username and the password to access the requested page. |
|
|
+-------------+-------------------------------+--------------------------------------------------------------------------------------------------------+
|
|
| 403 | Forbidden | Access to the requested page is forbidden. |
|
|
+-------------+-------------------------------+--------------------------------------------------------------------------------------------------------+
|
|
| 404 | Not Found | The requested page was not found. |
|
|
+-------------+-------------------------------+--------------------------------------------------------------------------------------------------------+
|
|
| 405 | Method Not Allowed | The request method is not allowed. |
|
|
+-------------+-------------------------------+--------------------------------------------------------------------------------------------------------+
|
|
| 406 | Not Acceptable | Response generated by the server is not acceptable to the client. |
|
|
+-------------+-------------------------------+--------------------------------------------------------------------------------------------------------+
|
|
| 407 | Proxy Authentication Required | You must use the proxy server for authentication. Then, the request can be processed. |
|
|
+-------------+-------------------------------+--------------------------------------------------------------------------------------------------------+
|
|
| 408 | Request Timeout | The request timed out. |
|
|
+-------------+-------------------------------+--------------------------------------------------------------------------------------------------------+
|
|
| 409 | Conflict | The request could not be processed due to a conflict. |
|
|
+-------------+-------------------------------+--------------------------------------------------------------------------------------------------------+
|
|
| 500 | Internal Server Error | The request is not completed because an exception occurs. |
|
|
+-------------+-------------------------------+--------------------------------------------------------------------------------------------------------+
|
|
| 501 | Not Implemented | The request is not completed because the server does not support the requested function. |
|
|
+-------------+-------------------------------+--------------------------------------------------------------------------------------------------------+
|
|
| 502 | Bad Gateway | The request is not completed because the server receives an invalid response from the upstream server. |
|
|
+-------------+-------------------------------+--------------------------------------------------------------------------------------------------------+
|
|
| 503 | Service Unavailable | The request is not completed because the system is temporarily abnormal. |
|
|
+-------------+-------------------------------+--------------------------------------------------------------------------------------------------------+
|
|
| 504 | Gateway Timeout | The gateway timed out. |
|
|
+-------------+-------------------------------+--------------------------------------------------------------------------------------------------------+
|