Pergunta de entrevista da empresa IONOS

They asked if PATCH is idempotent.

Resposta da entrevista

Sigiloso

8 de jul. de 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.