http status code - checklist
HTTP status codes are crucial for troubleshooting and diagnosing issues with web requests and responses. They provide information about whether a request was successful, encountered an error, or needs further action.
𝟭- 𝗜𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻𝗮𝗹 𝗥𝗲𝘀𝗽𝗼𝗻𝘀𝗲𝘀 (𝟭𝘅𝘅):
- 𝟷𝟶𝟶 𝙲𝚘𝚗𝚝𝚒𝚗𝚞𝚎: The server has received the initial part of the request, and the client can proceed with the rest of the request.
- 𝟷𝟶𝟷 𝚂𝚠𝚒𝚝𝚌𝚑𝚒𝚗𝚐 𝙿𝚛𝚘𝚝𝚘𝚌𝚘𝚕𝚜: The server is changing protocols as requested by the client.
𝟮- 𝗦𝘂𝗰𝗰𝗲𝘀𝘀𝗳𝘂𝗹 𝗥𝗲𝘀𝗽𝗼𝗻𝘀𝗲𝘀 (𝟮𝘅𝘅):
- 𝟸𝟶𝟶 𝙾𝙺: The request was successful, and the server has returned the requested data.
- 𝟸𝟶𝟷 𝙲𝚛𝚎𝚊𝚝𝚎𝚍: The request resulted in the creation of a new resource on the server.
- 𝟸𝟶𝟺 𝙽𝚘 𝙲𝚘𝚗𝚝𝚎𝚗𝚝: The request was successful, but there is no data to return (often used in DELETE requests).
𝟯- 𝗥𝗲𝗱𝗶𝗿𝗲𝗰𝘁𝗶𝗼𝗻 (𝟯𝘅𝘅):
- 𝟹𝟶𝟷 𝙼𝚘𝚟𝚎𝚍 𝙿𝚎𝚛𝚖𝚊𝚗𝚎𝚗𝚝𝚕𝚢: The requested resource has been permanently moved to a new URL.
- 𝟹𝟶𝟸 𝙵𝚘𝚞𝚗𝚍 (𝚘𝚛 𝟹𝟶𝟹 𝚂𝚎𝚎 𝙾𝚝𝚑𝚎𝚛): The requested resource is temporarily located at a different URL.
- 𝟹𝟶𝟺 𝙽𝚘𝚝 𝙼𝚘𝚍𝚒𝚏𝚒𝚎𝚍: The client's cached copy of the resource is still valid, and there is no need to download it again.
𝟰- 𝗖𝗹𝗶𝗲𝗻𝘁 𝗘𝗿𝗿𝗼𝗿𝘀 (𝟰𝘅𝘅):
- 𝟺𝟶𝟶 𝙱𝚊𝚍 𝚁𝚎𝚚𝚞𝚎𝚜𝚝: The server cannot understand or process the client's request due to a client error.
- 𝟺𝟶𝟷 𝚄𝚗𝚊𝚞𝚝𝚑𝚘𝚛𝚒𝚣𝚎𝚍: Authentication is required, and the provided credentials are not valid.
- 𝟺𝟶𝟹 𝙵𝚘𝚛𝚋𝚒𝚍𝚍𝚎𝚗: The server understood the request but refuses to fulfill it due to permission issues.
- 𝟺𝟶𝟺 𝙽𝚘𝚝 𝙵𝚘𝚞𝚗𝚍: The requested resource could not be found on the server.
𝟱- 𝗦𝗲𝗿𝘃𝗲𝗿 𝗘𝗿𝗿𝗼𝗿𝘀 (𝟱𝘅𝘅):
- 𝟻𝟶𝟶 𝙸𝚗𝚝𝚎𝚛𝚗𝚊𝚕 𝚂𝚎𝚛𝚟𝚎𝚛 𝙴𝚛𝚛𝚘𝚛: A generic error message indicating that something has gone wrong on the server.
- 𝟻𝟶𝟷 𝙽𝚘𝚝 𝙸𝚖𝚙𝚕𝚎𝚖𝚎𝚗𝚝𝚎𝚍: The server does not support the functionality required to fulfill the request.
- 𝟻𝟶𝟹 𝚂𝚎𝚛𝚟𝚒𝚌𝚎 𝚄𝚗𝚊𝚟𝚊𝚒𝚕𝚊𝚋𝚕𝚎: The server is temporarily unable to handle the request, often due to overload or maintenance.
Comments
Post a Comment