3 ms·
One of the main drawbacks to the HTTP Accept header approach for both versioning and content negotiation is that it makes it less convenient to test from a brow
by ldh 14y ago
One of the main drawbacks to the HTTP Accept header approach for both versioning and content negotiation is that it makes it less convenient to test from a browser when you can't encode those things in the URL.
Personally I feel that using the header feels more "right" and lines up with the available mechanisms of HTTP. I think the inconvenience could be easily overcome with browser plugins, for example.
- DropkickM16 14y agoYou can always add a version=v1 to the query parameters and use that as an override when performing content negotiation. It's still not terribly convenient.