How to receive arrays through WebHttpBinding?
-
24-10-2019 - |
سؤال
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?
المحلول
Yes, you can. It works exactly as you specified.
نصائح أخرى
لا تنتمي إلى StackOverflow