Created
November 1, 2014 02:20
-
-
Save philwilt/e583500e29c4ade82503 to your computer and use it in GitHub Desktop.
api versioning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
URI Versioning: | |
-Good for namespace routes | |
-Bad for aesthetics | |
Header: | |
-Good for pretty urls | |
-Bad cause its less clear what's happening and have to set on every request | |
Accept header: | |
-Kinda the same as header | |
That said most major companies use URI versioning. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment