I have this WCF REST service.
[WebInvoke(UriTemplate = "/GetNames/{Category}?order=asc", Method = "POST", ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json)] public List<Names> GetNames(string Category) {
The Category parameter is displayed in {Category}
in Uri.
But how can I match the order string in Uri with this method?
Adding order as a parameter method does not work.
please, help. thanks in advance.
source share