Methods can be called through the following URL:
http://ip/sitename/Service1.svc/user/post/{value}
For service contract:
[ServiceContract] public interface IService1 { [OperationContract] [WebGet(UriTemplate = "?value={value}")] string GetData(int value); [OperationContract] [WebInvoke(Method = "POST", UriTemplate = "post/{value}")] string PostData(String value); [OperationContract] [WebInvoke(Method = "PUT", UriTemplate = "put/{value}")] string PutData(string value); }For web.config: