Skip to main content

You just need to add [FromUri] before parameter, looks like:

GetCategories([FromUri] int[] categoryIds) 

And send request:

/Categories?categoryids=1&categoryids=2&categoryids=3 
Lavel
  • 7.7k
  • 1
  • 17
  • 8