I tried all this answers
But all this didn't worked for me , actually I am sending email address as a parameter to a WCF REST service method in URL.
Thanks
I tried all this answers
But all this didn't worked for me , actually I am sending email address as a parameter to a WCF REST service method in URL.
Thanks
Having the below implemenation i could get the email address passed in URL
[WebGet(UriTemplate ="{email}")]
public string GetString(string email)
{
return "the email address is :" + email;
}
the URL i used to get data from resource is:
http://localhost/SampleService/test@test.com