• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Skipping URI segment to leave default

#1
Hello everyone, I would like to ask about skipping URI segment to leave it as default value. I am building API where arguments are filters parameters and some of them I would like to leave sometimes on default like to have URL
Code:
https://localhost/Controller/Method/<blank-to-use-default>/URIsegment2Value

Is it possible? Because now when I leave blank segment it will be skipped but value of the next segment is assigned to the first one. THX Smile
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.