How to receive arrays through WebHttpBinding?
-
24-10-2019 - |
Question
Will anything like
[OperationContract]
[WebGet]
string IWannaRead(int[] ids);
work? And how to form a link\url (www.example.com/service.svc?ids=1,2,3,4,5,6,7,8
) for the request?
Solution
Yes, you can. It works exactly as you specified.
OTHER TIPS
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow