My web service now looks like this:
[WebInvoke(UriTemplate = "/GetAllAreaNotes", Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
[OperationContract, CorsEnabled]
[Description("Request to get all area note")]
AreaNote[] GetAllAreaNotes();
[WebInvoke(UriTemplate = "/GetAreaNotesByIDs", Method = "GET", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
[OperationContract, CorsEnabled]
[Description("Request to get area notes by IDs")]
AreaNote[] GetAreaNotesByIDs();
The /GetAllAreaNotes is already working. /GetAreaNotesByIDs should be similar, but I'm not sure how to pass a string array in this web service. Here's my questions:
- If this is still a Get request, it possible to pass string arrays as part of the URL?
- Or, I should make it a POST request instead?

