Avishek,
you are correct.. the wild card param will not work as you already know.. what you can do is to assign a default value on your input param in case the request does not contain one value.
alternatively, you if you were to pass a value and instead of matching via equality, you could use the contains operator ... for string values... i think you are more concerned about my first answer above.
hope this helps...