This is my operation contract. I want to test this method in a browser. But when I type any email in the browser like http://localhost:1234/json/user/abc/abc@abc.com
, it does not work
[OperationContract]
[WebInvoke(Method = "GET",
RequestFormat = WebMessageFormat.Json,
ResponseFormat = WebMessageFormat.Json,
BodyStyle = WebMessageBodyStyle.Wrapped,
UriTemplate = "json/user/{name}/{email}")]
string addUser(string name, string email);
How do I send the email address as a single string?? any idea?