I am planning to write a RESTful API and I am clueless how to handle versioning. I have read many discussions and blog articles, which suggest to use the accept header for versioning.
But then I found following website listening popular REST APIs and their versioning method and most of them using the URL for versioning. Why?
Why are most people saying: "Don't use the URL, but use the accept header", but popular APIs using URL?