How to receive arrays through WebHttpBinding?

There will be something like

    [OperationContract]
    [WebGet]
    string IWannaRead(int[] ids);

work? And how to form the link \ url ( www.example.com/service.svc?ids=1,2,3,4,5,6,7,8) for the request?

+3
source share
2 answers

Yes, you can. It works exactly as you indicated.

+1
source

Source: https://habr.com/ru/post/1748399/


All Articles