Se a vaga pede REST / HTTP, a chance de algo assim cair na tech screen é alta. A resposta está em inglês de propósito: treine do jeito que o jogo é jogado.
A resposta, como você fala na entrevista
GET, PUT, DELETE are idempotent by design. For POSTs that must be idempotent — payments, order creation — use IDEMPOTENCY KEYS: the client sends a unique key in a header; the server stores it with the result; if the same key arrives again, return the stored response instead of reprocessing. Critical for payment APIs: a retry after a network error must not charge twice.
Ler é fácil. Falar isso em inglês, sob pressão, com alguém avaliando, é outra história. No VagaGringa esse tópico vira flashcard com repetição espaçada, cai em quiz e entra no simulado.
Treinar este tópico no app