Referensi Kode Status HTTP
Referensi lengkap dan bisa dicari untuk semua kode status HTTP dari 100 hingga 511. Telusuri per kategori, cari berdasarkan kata kunci atau nomor kode, lalu buka kode mana pun untuk melihat detail lengkap termasuk panduan penggunaan praktis dan spesifikasi RFC — semuanya di browser Anda tanpa pendaftaran.
1xx Informational
(4)The server has received the request headers and the client should proceed to send the request body.
The server is switching protocols as requested by the client via the Upgrade header.
The server has received and is processing the request, but no response is available yet.
The server is sending preliminary headers to allow the client to preload resources before the final response.
2xx Success
(10)The request has succeeded. The meaning depends on the HTTP method used.
The request has been fulfilled and a new resource has been created.
The request has been accepted for processing, but the processing has not been completed.
The returned metadata is not exactly the set available from the origin server but is gathered from a local or third-party copy.
The server has fulfilled the request but does not need to return a response body.
The server has fulfilled the request and the user agent should reset the document view.
The server is delivering only part of the resource due to a Range header sent by the client.
Provides status for multiple independent operations in WebDAV.
The members of a DAV binding have already been enumerated in a previous reply to this request.
The server has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance.
3xx Redirection
(9)The request has more than one possible response. The user agent or user should choose one.
The resource has been permanently moved to a new URL indicated by the Location header.
The resource has been temporarily moved to a different URL.
The response to the request can be found at another URL using a GET method.
The resource has not been modified since the last request, and the client should use its cached version.
The requested resource must be accessed through the proxy specified in the Location header.
Subsequent requests should use the specified proxy.
The resource has been temporarily moved, and the client should use the same HTTP method for the redirect.
The resource has been permanently moved, and the client should use the same HTTP method for the redirect.
4xx Client Error
(29)The server cannot process the request due to a client error (malformed syntax, invalid request message framing, or deceptive request routing).
The request requires user authentication. The response must include a WWW-Authenticate header.
This response code is reserved for future use. Originally intended for digital payment systems.
The client does not have access rights to the content, and the server is refusing to respond.
The server cannot find the requested resource. In an API, this can also mean the endpoint is valid but the resource itself does not exist.
The request method is known by the server but is not supported by the target resource.
The server cannot produce a response matching the list of acceptable values defined in the request headers.
The client must first authenticate itself with the proxy.
The server timed out waiting for the request.
The request conflicts with the current state of the server.
The requested resource is no longer available and will not be available again.
The server refuses to accept the request without a defined Content-Length header.
One or more conditions given in the request header fields evaluated to false.
The request entity is larger than the server is willing or able to process.
The URI provided in the request was too long for the server to process.
The media format of the requested data is not supported by the server.
The range specified in the Range header cannot be satisfied.
The expectation indicated by the Expect request header field cannot be met by the server.
The server refuses to brew coffee because it is, permanently, a teapot.
The request was directed at a server that cannot produce a response for the target resource.
The request body contains well-formed but semantically erroneous content.
The resource that is being accessed is locked.
The request failed because it depended on another operation that failed.
The server is unwilling to risk processing a request that might be replayed.
The client should switch to a different protocol as specified in the Upgrade header.
The server requires the request to be conditional to prevent the lost update problem.
The user has sent too many requests in a given amount of time (rate limiting).
The server refuses to process the request because the header fields are too large.
The resource is unavailable due to legal demands (government censorship, copyright claims).
5xx Server Error
(11)The server encountered an unexpected condition that prevented it from fulfilling the request.
The server does not support the functionality required to fulfill the request.
The server, while acting as a gateway or proxy, received an invalid response from the upstream server.
The server is currently unable to handle the request due to temporary overload or maintenance.
The server, while acting as a gateway or proxy, did not receive a timely response from the upstream server.
The server does not support the HTTP protocol version used in the request.
The server has an internal configuration error and the chosen variant resource is configured to engage in transparent content negotiation itself.
The server is unable to store the representation needed to complete the request.
The server detected an infinite loop while processing a request with "Depth: infinity".
Further extensions to the request are required for the server to fulfill it.
The client needs to authenticate to gain network access (e.g., captive portal).
Mengapa menggunakan referensi kode status HTTP kami?
Referensi lengkap dan ramah pengembang dengan setiap kode status HTTP standar dari 1xx hingga 5xx, termasuk kode WebDAV dan eksperimental.
Setiap kode status HTTP standar dari 100 hingga 511, termasuk kategori informasi, sukses, pengalihan, error klien, dan error server. Ditambah kode WebDAV dan kode status eksperimental — semuanya di satu tempat.
Cari berdasarkan nomor kode, judul, deskripsi, catatan penggunaan, atau spesifikasi RFC. Filter berdasarkan kategori (1xx-5xx) atau lihat semua kode sekaligus. Pencarian diperbarui secara real-time di seluruh kumpulan data.
Klik kode status mana pun untuk membuka informasi mendetail: deskripsi lengkap, catatan penggunaan praktis, referensi spesifikasi RFC, dan fungsi salin — tampilan ringkas tetap bersih dan mudah dipindai.
Salin kode status beserta judulnya langsung ke papan klip dengan satu klik. Setiap kode menampilkan sumber spesifikasi RFC dan kategorinya sehingga mudah dikutip dalam dokumentasi, tinjauan kode, dan proses debug.
Siapa yang memakai referensi kode status HTTP?
Dari pengembang frontend hingga perancang API, akses cepat ke informasi kode status HTTP yang akurat sangat penting.
Kembalikan kode status yang tepat dari API backend. Ketahui kapan memakai 201 alih-alih 202, 400 alih-alih 422, atau 301 alih-alih 308 di aplikasi Express, Django, Rails, atau ASP.NET Anda.
Rancang API RESTful dengan semantik kode status yang tepat. Pilih kode yang sesuai untuk operasi CRUD, respons error, pembatasan laju, dan strategi negosiasi konten.
Cari dengan cepat kode status tidak dikenal yang muncul saat debugging, pengujian API dengan Postman/cURL, analisis log, atau saat meninjau laporan error server.
Tafsirkan kode status HTTP di log load balancer, laporan CDN, dasbor pemantauan, dan peringatan uptime. Pahami perbedaan 502 dan 504 saat mendiagnosis masalah gateway.
Pelajari dasar-dasar protokol HTTP dengan penjelasan yang jelas dan praktis. Pahami perbedaan error 4xx dan 5xx, kapan pengalihan terjadi, dan bagaimana cache memakai 304.
Kutip deskripsi kode yang akurat, referensi spesifikasi, dan catatan penggunaan saat menulis dokumentasi API, tutorial, buku pedoman error, dan panduan pemrograman.
Apa itu kode status HTTP?
Kode status HTTP adalah angka tiga digit terstandar yang dikembalikan server web sebagai bagian dari setiap respons HTTP. Kode ini dikelompokkan menjadi lima kelas berdasarkan digit pertama: 1xx (Informasi), 2xx (Sukses), 3xx (Pengalihan), 4xx (Error Klien), dan 5xx (Error Server). Setiap kode menyampaikan kondisi tertentu tentang permintaan, sehingga klien (browser, API, aplikasi seluler) dapat menentukan tindakan berikutnya yang tepat. Spesifikasi HTTP saat ini (RFC 9110) mendefinisikan semantik inti, dengan kode tambahan didefinisikan dalam RFC pendamping untuk WebDAV, pembatasan laju, batasan hukum, dan kasus penggunaan khusus lainnya.
Cara kerja referensi kami
- Telusuri per kategori: gunakan tombol filter untuk menampilkan hanya kode Informasi (1xx), Sukses (2xx), Pengalihan (3xx), Error Klien (4xx), atau Error Server (5xx).
- Cari: ketik nomor kode, kata kunci judul, atau istilah seperti «cache» atau «redirect» untuk menemukan kode relevan seketika di seluruh kumpulan data.
- Buka untuk detail: klik kartu kode status mana pun untuk melihat deskripsi lengkap, panduan penggunaan praktis, dan referensi spesifikasi RFC.
- Salin dan kutip: klik tombol salin pada kode mana pun untuk menyalinnya beserta judul untuk dipakai di kode, dokumentasi, atau catatan debug.
Memahami kategori kode status
- 1xx Informasi (100-199): respons sementara yang menandakan server telah menerima permintaan dan masih memprosesnya. Ini respons antara sebelum respons akhir.
- 2xx Sukses (200-299): permintaan berhasil diterima, dipahami, dan diterima. Kode spesifiknya menunjukkan apa yang dilakukan terhadap permintaan (dibuat, diterima, dikirim sebagian).
- 3xx Pengalihan (300-399): klien harus melakukan tindakan lanjutan untuk menyelesaikan permintaan. Biasanya berarti sumber daya telah berpindah dan klien harus mengikuti URL pada header Location.
- 4xx Error Klien (400-499): permintaan mengandung sintaksis yang salah atau tidak dapat dipenuhi server. Error ini tanggung jawab klien — input tidak valid, kegagalan autentikasi, sumber daya tidak ditemukan.
- 5xx Error Server (500-599): server gagal memenuhi permintaan yang valid karena error internal, masalah kapasitas, atau kegagalan di hulu. Klien bisa mencoba lagi nanti.
Privasi, keamanan, dan ketersediaan
Referensi Kode Status HTTP ini adalah alat referensi statis. Tidak ada data yang dikirim, disimpan, atau diproses di server mana pun. Seluruh kumpulan data kode status tertanam di halaman dan dimuat seketika tanpa permintaan jaringan. Tanpa akun, tanpa pendaftaran, dan tanpa pelacakan. Alat ini 100% gratis tanpa batas penggunaan.
Pertanyaan yang Sering Diajukan
Lebih dari 50 kode standar dari 1xx hingga 5xx, termasuk kode WebDAV dan eksperimental.
Ya, kode usang seperti 305 dan 306 disertakan beserta catatan pengusangannya.
Bisa, pencarian mencakup semua bidang termasuk referensi spesifikasi RFC (misalnya mencari «RFC 6585»).
Lima kategori berdasarkan digit pertama dengan kode warna: 1xx biru, 2xx hijau, 3xx kuning, 4xx oranye, 5xx merah.
Bisa, klik tombol salin pada kartu mana pun untuk menyalin kode beserta judulnya ke papan klip.
400 untuk sintaksis yang cacat; 422 untuk konten yang terbentuk baik tetapi tidak valid secara semantik.
Aman. Ini referensi statis — tidak ada data yang dikirim atau disimpan di mana pun.
Ya, 100% gratis tanpa batas, tanpa pendaftaran, dan tanpa biaya tersembunyi.