Robaws has protection for creating duplicate resources (in case of a failure-retry scenario) using idempotency keys.

You can provide your own client generated idempotency key using the x-robaws-idempotency-key header. The value should be unique for your user/client id
and can be max 128 characters in length.

We will always return the original response for the same idempotency key, only if the request succeeded (no 400 or 500 occurred).

Idempotency keys are only supported for PATCH, POST and PUT methods. You may provide the header with other HTTP methods but it will be ignored.
If you fire multiple concurrent requests with the same idempotency key, you may receive a 409 CONFLICT error.
Was dit artikel nuttig?