Skip to content

Instantly share code, notes, and snippets.

@ragnard
Created May 29, 2012 08:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ragnard/2823237 to your computer and use it in GitHub Desktop.
Save ragnard/2823237 to your computer and use it in GitHub Desktop.
URL mapping
Typ såhär menar jag:
/users -> UserResourse.QueryUsers
/users/{userId} -> UserResource.GetUser(userId)
/users/{userId}/computers -> ComputerResource.GetComputers(userId)
/users/{userId}/computers/{computerId} -> ComputerResource.GetComputer(userId, computerId)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment