2 Commits

Author SHA1 Message Date
02e8c2a89b Improves API client response handling and idempotency
Extends `X-Idempotency-Key` header usage to `DELETE` and `PUT` requests, ensuring idempotent behavior for a wider range of modifying API operations. Updates the documentation and client implementation for `DELETE` requests.

Refactors `handleResponse` to robustly parse API responses. It now reads the response body once as text, enabling graceful handling of non-JSON error bodies and consistent processing of successful or empty responses.
2026-03-24 19:08:22 +03:00
28c24d8cb1 first commit 2026-03-24 16:24:16 +03:00