CodeIgniter Forums

Full Version: Skipping URI segment to leave default
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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