Skip to content
Sharp

HTTP JSON APIs · interview question

In the context of JSON APIs, what does it mean to treat response shapes as strict contracts?

Multiple choiceEasychapter-11-curatedpremiumhttp-json-apisapi-versioning
Choose one answer
Answer and explanation

Correct answer

C. Clients expect specific fields and structures

Why

Treating response shapes as strict contracts means that clients expect specific fields and structures in the JSON response, and any changes to this can lead to client-side errors or unexpected behavior.

Test yourself on HTTP JSON APIs

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

Start free test
All HTTP JSON APIs questions →