Skip to content
Sharp

HTTP JSON APIs · interview question

When defining API versioning strategies, what is a key benefit of using URL paths over HTTP headers?

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

Correct answer

C. Improved API discoverability

Why

URL path versioning makes version information explicit and visible within the URL, which can improve API discoverability and make it easier for developers to understand which version they are interacting with.

Test yourself on HTTP JSON APIs

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

Start free test
All HTTP JSON APIs questions →