Skip to content

Instantly share code, notes, and snippets.

@philwilt
Created November 1, 2014 02:20
Show Gist options
  • Save philwilt/e583500e29c4ade82503 to your computer and use it in GitHub Desktop.
Save philwilt/e583500e29c4ade82503 to your computer and use it in GitHub Desktop.
api versioning
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