Domanda di colloquio di IONOS

They asked if PATCH is idempotent.

Risposta di colloquio

Anonimo

8 lug 2025

Yes, but not always. It depends if you make a fixed change (like changing a field), or injecting an action that triggers some business logic (like having a column with value increment). They said that this is not valid, because you have to write a POST request. According to RFC 5789 that is wrong.