Skip to content
Sharp

Networking · interview question

Why is retrying a GET for shipping rates usually safer than retrying a POST that charges a card?

Multiple choiceMediumchapter-11-curatedpremiumnetworkingtimeouts-and-retries
Choose one answer
Answer and explanation

Correct answer

D. Because the GET is typically read-only, while the POST may create duplicate side effects

Why

A shipping-rate GET is usually safe to attempt again because it should not mutate remote state. Retrying a payment POST can duplicate business actions unless the remote API supports idempotency or deduplication.

Test yourself on Networking

A free test with instant, explained results. No account needed.

Start free test
All Networking questions →