Talep geçerli ancak mevcut durumla çelişiyor — mükerrer kayıt, zaten dolu bir koltuk, buradan geçişe izin verilmeyen bir durum.
Tanımlandığı yer RFC 9110 §15.5.10 — 409 Conflict · MDN referansı
İki kez satılan koltuklar, yinelenen kullanıcı adları, başka bir şeyin hâlâ işaret ettiği bir kaydı silmek, zaten kargoya verilmiş bir siparişi iptal etmek ve sahip olmadığı bir geçişi yapması istenen her durum makinesi.
409 bir aktarım sorunu değil, bir durum sorunudur; bu yüzden körü körüne yeniden denemek onu kötüleştirir. Yeniden deneme politikanızın onu 503'ten ayırdığını test edin.
409 hatası durumla ilgili olduğundan, kör yeniden deneme genellikle aynı şekilde başarısız olur; koltuk hala dolu. Mevcut durumu tekrar okuyun, işlemin hala mantıklı olup olmadığına karar verin ve ancak ondan sonra tekrar deneyin. Otomatik yeniden deneme politikasının en az fayda için en çok zararı verdiği durum budur.
Bu oyun alanında 76 uç nokta 409 ile yanıt veriyor. Hepsi ücretsizdir, kayıt gerektirmez ve tarayıcıdan ya da curl ile çağrılabilir.
DELETE https://funapi.dev/api/pizza/v1/orders/{id} — Cancel an order (409 if already delivered) (Pizza Orders API) Bu uç noktayı aç ve çalıştırPUT https://funapi.dev/api/coffee/v1/orders/{id}/ready — Mark an order ready (409 if already ready) (Coffee Shop API) Bu uç noktayı aç ve çalıştırDELETE https://funapi.dev/api/football/v1/teams/{id} — Remove a team (409 if it has played matches) (Football API) Bu uç noktayı aç ve çalıştırPATCH https://funapi.dev/api/holmes/v1/cases/{id} — Update a case status (409 if unchanged) (Sherlock Holmes API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/webhooks/v1/deliveries/{id}/replay — Replay a delivery attempt — re-sends the real HTTP POST (409 after 3 attempts) (Webhooks API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/webhooks/v1/ordering — Generate duplicate and reversed envelopes without making outbound requests (Webhooks API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/dinopark/v1/dinosaurs — Add a dinosaur (409 if enclosure is at capacity) (Dino Park API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/marvel/v1/missions/{id}/complete — Mark a mission complete (409 if already complete) (Marvel API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/got/v1/nobles/{id}/kill — Kill off a noble (409 if already dead) (Game of Thrones API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/got/v1/battles — Simulate a battle between two houses (Game of Thrones API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/bank/v1/transfers — Transfer money between accounts (Bank API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/bank/v1/accounts/{id}/freeze — Freeze an account (admin only) (Bank API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/airline/v1/bookings — Book a seat (409 on conflicts & overbooking) (Airline API) Bu uç noktayı aç ve çalıştırPUT https://funapi.dev/api/airline/v1/bookings/{id}/seat — Change seat (If-Match concurrency) (Airline API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/airline/v1/bookings/{id}/checkin — Check in (state machine) (Airline API) Bu uç noktayı aç ve çalıştırDELETE https://funapi.dev/api/airline/v1/bookings/{id} — Cancel a booking (admin only, then 410) (Airline API) Bu uç noktayı aç ve çalıştırPATCH https://funapi.dev/api/protocol/v1/documents/{id} — RFC 6902 JSON Patch (op/path/value) (Protocol Lab API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/shop/v1/carts/{id}/items — Add a product (409 when out of stock) (Shop API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/shop/v1/carts/{id}/checkout — Check out (idempotent, coupon-aware) (Shop API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/shop/v1/reservations — Hold stock without overselling (Shop API) Bu uç noktayı aç ve çalıştırGET https://funapi.dev/api/shop/v1/reservations/{id} — Observe stock reservation expiry (Shop API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/shop/v1/reservations/{id}/confirm — Consume reserved stock using its version (Shop API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/cargo/v1/shipments/{id}/advance — Advance the state machine one step (X-API-Key) (Cargo Tracking API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/cargo/v1/shipments/{id}/attempt-delivery — Attempt delivery — may fail, 3 strikes returns it (X-API-Key) (Cargo Tracking API) Bu uç noktayı aç ve çalıştırPUT https://funapi.dev/api/cargo/v1/shipments/{id}/address — Redirect a parcel (X-API-Key + If-Match) (Cargo Tracking API) Bu uç noktayı aç ve çalıştır…ve katalog genelinde 51 uç nokta daha.
Tüm HTTP durum kodları · 55 mock REST API’nin tamamı · Başlangıç rehberi
Son güncelleme