shahzeb khan

shahzeb khan

  • NA
  • 24
  • 1.9k

Uri Template integer type

May 19 2017 6:37 AM
How can i pass uritemplate in REST webservice?
 
[OperationContract]
[WebInvoke(Method = "GET", UriTemplate = "/mywebservice2/{str}", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped)]
int GetEmpSalary2(int str);

Answers (2)