how to pass multiple parameters through uri template
I Tried with some formats, not able to get the correct one
"/shoe"
"/shoe/*"
"{shoe}/boat"
“{shoe}/{boat}/bed/{quilt}”
“shoe/{boat}”
“shoe/{boat}/*”
“shoe/boat?x=2”
“shoe/{boat}?x={bed}”
It depends on the format of your URI Template and your web request. If your URI template look like shoe/boat?x={bed}
Then your Web request should look like this
webservice1.svc/shoe/boat?x=2
Check this link for details
See the msdn article on RESTful Services With WCF
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.