Is it possible to use custom routes handling code?
For example client requests server on http://server.com/api/v1/json/profile/ and my code calls ApiController, MyAction action with parameters version=1, format=json, action=profile.
Is it possible to use custom routes handling code? For example client requests server
Share
Something like this? You’ll have to use a different parameter name for action so you don’t have a conflict with the controller action.
EDIT made version work the way you wanted.