Skip to content
Sharp

HTTP JSON APIs · interview question

Which strategy is most suitable for handling breaking changes in a JSON API without affecting existing clients?

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

Correct answer

A. Create a new versioned endpoint

Why

Creating a new versioned endpoint allows you to make breaking changes without affecting existing clients who rely on the current API contract, maintaining backward compatibility.

Test yourself on HTTP JSON APIs

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

Start free test
All HTTP JSON APIs questions →