Sözdizimi doğru ve sunucu isteği anladı, ancak içerik anlamsal olarak yanlış; gelecekte bir tarih gerekirken geçmişte geçerli bir tarih kullanılmış, hesaptan eksi bakiyeye yol açacak bir transfer yapılmış.
Tanımlandığı yer RFC 9110 §15.5.21 — 422 Unprocessable Content · MDN referansı
RFC 4918 §11.2'de WebDAV için "Unprocessable Entity" olarak tanımlanmış, daha sonra RFC 9110 ile genelleştirilmiş ve yeniden adlandırılmıştır.
Doğrulama hataları: e-posta olmayan bir e-posta, başlangıç tarihinden önceki bir bitiş tarihi, bir sipariş satırında sıfır adet, tek başına sorunsuz ama bağlam içinde yanlış bir alan.
400'den farkı işin özüdür: 400 "bunu okuyamadım", 422 "okudum ve hayır" demektir. İstemciler bunları kullanıcılara farklı biçimde göstermelidir.
Tekrar denemeyin. Alan bazlı hataları kullanıcının baktığı forma eşleyin; bu, API'nin istemciye tam olarak neyi düzeltmesi gerektiğini söyleyebildiği tek hata sınıfıdır ve bunu "invalid input" olarak basitleştiren bir istemci bunu göz ardı eder.
Bu oyun alanında 73 uç nokta 422 ile yanıt veriyor. Hepsi ücretsizdir, kayıt gerektirmez ve tarayıcıdan ya da curl ile çağrılabilir.
POST 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/bank/v1/accounts — Open a new account (Bank 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/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ırGET https://funapi.dev/api/payments/v1/payments — List synthetic payments (Payment Lifecycle API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/payments/v1/payments — Authorize a synthetic payment; retry with the same idempotency key (Payment Lifecycle API) Bu uç noktayı aç ve çalıştırGET https://funapi.dev/api/payments/v1/payments/{id} — Read a payment (Payment Lifecycle API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/payments/v1/payments/{id}/capture — capture a synthetic payment (Payment Lifecycle API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/payments/v1/payments/{id}/refund — refund a synthetic payment (Payment Lifecycle API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/payments/v1/payments/{id}/dispute — dispute a synthetic payment (Payment Lifecycle API) Bu uç noktayı aç ve çalıştırGET https://funapi.dev/api/payments/v1/events — Read deterministic webhook envelopes; reverse order or duplicate an event (Payment Lifecycle API) Bu uç noktayı aç ve çalıştırGET https://funapi.dev/api/reservations/v1/slots — List UTC slots with IANA display time zones (Reservation API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/reservations/v1/holds — Reserve capacity temporarily (Reservation API) Bu uç noktayı aç ve çalıştırGET https://funapi.dev/api/reservations/v1/holds/{id} — Read a hold and observe expiry (Reservation API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/reservations/v1/holds/{id}/confirm — Confirm a live hold (Reservation 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ırPOST https://funapi.dev/api/worldcup/v1/matches/{id}/simulate — Kick off and simulate a match — updates score, goal events and standings (admin only) (World Cup 2026 API) Bu uç noktayı aç ve çalıştırGET https://funapi.dev/api/worldcup/v1/players/top-scorers — Altın Çizme yarışı — top scorers so far (World Cup 2026 API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/worldcup/v1/tickets — Buy match tickets — limited seats, 409 when sold out (World Cup 2026 API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/worldcup/v1/predictions — Predict the 2026 world champion (World Cup 2026 API) Bu uç noktayı aç ve çalıştırPUT https://funapi.dev/api/fiba/v1/teams/{id}/staff — Name the head coach and captain — optimistic concurrency via If-Match (FIBA World Cup API) Bu uç noktayı aç ve çalıştırPOST https://funapi.dev/api/fiba/v1/games/{id}/simulate — Tip off — four quarters plus overtime until somebody wins (admin only) (FIBA World Cup API) Bu uç noktayı aç ve çalıştır…ve katalog genelinde 48 uç nokta daha.
Tüm HTTP durum kodları · 55 mock REST API’nin tamamı · Başlangıç rehberi
Son güncelleme