3 ms·
I can't recall a single API I've seen or used that took the academic approach of using HTTP Accept headers. All of the major REST APIs I've seen have used API k
by reynolds 16y ago
I can't recall a single API I've seen or used that took the academic approach of using HTTP Accept headers. All of the major REST APIs I've seen have used API key X-* headers and most of them use versioned URIs.
It seems there are two REST camps: academics and those who actually write real-world APIs.
- technoweenie 16y agohttp://api.tenderapp.com http://api.tenderapp.com. Course, I didn't work on it long enough to need another version :) I think I messed up by using a single version for the whole API. I think it makes more sense to have a versioned mime type for each resource (if that's how you choose to roll).