İstek başarılı oldu ve bilerek hiçbir içerik eklenmedi. Başarılı bir DELETE işlemine en sık verilen yanıt budur.
Tanımlandığı yer RFC 9110 §15.3.5 — 204 No Content · MDN referansı
Başarılı DELETE'ler, güncellenen kaynağı geri döndürmeyen PUT'lar, tüm işi bir yan etki olan uç noktalar ve istemcinin az önce gönderdiği yeni durumu zaten bildiği tercih ya da ayar yazımları.
response.json() çağrısını koşulsuz yapan istemciler burada hata fırlatır. Bir 204 yolunu test etmek, hata yönetiminizde bir delik olduğunu bu şekilde keşfetmenizi sağlar.
.json() çağrısını koşulsuz yapmayın. Fetch tabanlı istemciler boş gövdede hata fırlatır ve bu hata, nedeninden çok uzakta ağ hatası gibi görünür. Ayrıştırmadan önce duruma göre dallanın ya da content-length'i kontrol edin.
Bu oyun alanında 32 uç nokta 204 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/friends/v1/characters/{id} — Delete a character (Friends API) Bu uç noktayı aç ve çalıştırDELETE https://funapi.dev/api/superheroes/v1/heroes/{id} — Retire a hero (Superhero API) Bu uç noktayı aç ve çalıştırDELETE 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ı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ırDELETE https://funapi.dev/api/movies/v1/movies/{id} — Remove a movie (Movies API) Bu uç noktayı aç ve çalıştırDELETE https://funapi.dev/api/wizarding/v1/students/{id} — Expel a student (Harry Potter API) Bu uç noktayı aç ve çalıştırDELETE https://funapi.dev/api/galaxy/v1/characters/{id} — Remove a character (Star Wars API) Bu uç noktayı aç ve çalıştırDELETE https://funapi.dev/api/holmes/v1/suspects/{id} — Clear a suspect (Sherlock Holmes API) Bu uç noktayı aç ve çalıştırDELETE https://funapi.dev/api/pokemon/v1/pokemon/{id} — Release a Pokémon (Pokémon API) Bu uç noktayı aç ve çalıştırDELETE https://funapi.dev/api/middleearth/v1/fellowship/{id} — Remove a member from the fellowship (Middle-earth API) Bu uç noktayı aç ve çalıştırDELETE https://funapi.dev/api/webhooks/v1/subscriptions/{id} — Unsubscribe (Webhooks API) Bu uç noktayı aç ve çalıştırDELETE https://funapi.dev/api/office/v1/employees/{id} — Fire an employee (The Office API) Bu uç noktayı aç ve çalıştırDELETE https://funapi.dev/api/dinopark/v1/dinosaurs/{id} — Relocate a dinosaur off-site (Dino Park API) Bu uç noktayı aç ve çalıştırDELETE https://funapi.dev/api/marvel/v1/heroes/{id} — Retire a hero (Marvel API) Bu uç noktayı aç ve çalıştırDELETE https://funapi.dev/api/rickandmorty/v1/characters/{id} — Remove a character (portal them out of existence) (Rick and Morty 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ırDELETE https://funapi.dev/api/protocol/v1/documents/{id} — Delete a document (admin only, then 410) (Protocol Lab API) Bu uç noktayı aç ve çalıştırDELETE https://funapi.dev/api/starfleet/v1/crew/{id} — Discharge a crew member (admin only) (Starfleet API) Bu uç noktayı aç ve çalıştırDELETE https://funapi.dev/api/reservations/v1/holds/{id} — Release a hold or cancel a confirmed reservation (Reservation API) Bu uç noktayı aç ve çalıştırDELETE https://funapi.dev/api/worldcup/v1/tickets/{id} — Cancel a ticket order and release the seats (admin only) (World Cup 2026 API) Bu uç noktayı aç ve çalıştırDELETE https://funapi.dev/api/fiba/v1/tickets/{id} — Cancel an order and release the seats (FIBA World Cup API) Bu uç noktayı aç ve çalıştırDELETE https://funapi.dev/api/storage/v1/objects/{key} — Delete an object (Object Storage API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/identity/v1/revoke — Revoke an access token (Modern Identity API) Bu uç noktayı aç ve çalıştırDELETE https://funapi.dev/api/faults/v1/config — Reset fault profile (Fault Injection API) Bu uç noktayı aç ve çalıştırGET https://funapi.dev/api/faults/v1/status/{code} — Return any status code on demand (200–599) (Fault Injection API) Bu uç noktayı aç ve çalıştır…ve katalog genelinde 7 uç nokta daha.
Tüm HTTP durum kodları · 55 mock REST API’nin tamamı · Başlangıç rehberi
Son güncelleme