{
    "content": "<h1>Status-Code<\/h1><p>An <a href=\"..\/HTTP-Status-Code\/\">HTTP Status-Code<\/a> is a three-digit integer returned by a <a href=\"..\/Server\/\">Server<\/a> to a <a href=\"..\/Client\/\">Client<\/a> to indicate the outcome of a specific <a href=\"..\/Hypertext-Transfer-Protocol\/\">Hypertext Transfer Protocol<\/a> (HTTP) request. These codes are essential for the functioning of the <a href=\"..\/World-Wide-Web\/\">World Wide Web<\/a>, providing a standardized way for machines to communicate success, redirection, or error states. The primary authority for these codes is the <a href=\"..\/Internet-Assigned-Numbers-Authority\/\">Internet Assigned Numbers Authority<\/a> (IANA), which maintains the official registry based on specifications from the <a href=\"..\/Internet-Engineering-Task-Force\/\">Internet Engineering Task Force<\/a> (IETF), most notably <a href=\"..\/RFC-7231\/\">RFC 7231<\/a>.<\/p><h2>Categorization<\/h2><p>The first digit of the <a href=\"..\/Status-Code\/\">Status-Code<\/a> defines the class of the response:<\/p><ul><li><strong>1xx (Informational):<\/strong> The request was received, continuing process.<\/li><li><strong>2xx (Successful):<\/strong> The request was successfully received, understood, and accepted. A common example is <a href=\"..\/200-OK\/\">200 OK<\/a>.<\/li><li><strong>3xx (Redirection):<\/strong> Further action needs to be taken by the <a href=\"..\/User-Agent\/\">User-Agent<\/a> to complete the request.<\/li><li><strong>4xx (Client Error):<\/strong> The request contains bad syntax or cannot be fulfilled. The most famous is <a href=\"..\/404-Not-Found\/\">404 Not Found<\/a>.<\/li><li><strong>5xx (Server Error):<\/strong> The <a href=\"..\/Server\/\">Server<\/a> failed to fulfill an apparently valid request, such as the <a href=\"..\/500-Internal-Server-Error\/\">500 Internal Server Error<\/a>.<\/li><\/ul><p>Developers and system administrators rely on these codes for <a href=\"..\/Debugging\/\">Debugging<\/a> and monitoring <a href=\"..\/API\/\">API<\/a> performance. Detailed documentation on individual codes can be found on the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Status\">MDN Web Docs<\/a> or the official <a href=\"https:\/\/www.iana.org\/assignments\/http-status-codes\/http-status-codes.xhtml\">IANA HTTP Status Code Registry<\/a>.<\/p><h3>Related Topics<\/h3><ul><li><a href=\"..\/HTTP-Headers\/\">HTTP-Headers<\/a><\/li><li><a href=\"..\/REST-API\/\">REST-API<\/a><\/li><li><a href=\"..\/Web-Server\/\">Web-Server<\/a><\/li><li><a href=\"..\/Client-Server-Model\/\">Client-Server-Model<\/a><\/li><\/ul>",
    "tags": [
        "http",
        "status-codes",
        "web-development",
        "networking",
        "rest",
        "api",
        "internet-protocol",
        "error-handling",
        "server-side",
        "client-side"
    ]
}