Skip to main content
added 5 characters in body
Source Link
shA.t
  • 17k
  • 5
  • 59
  • 121

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

GetCategories([FromUri] int[] categoryIds) 

And send request:

/Categories?categoryids=1&categoryids=2&categoryids=3 

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

GetCategories([FromUri] int[] categoryIds) 

And send request:

/Categories?categoryids=1&categoryids=2&categoryids=3 

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

GetCategories([FromUri] int[] categoryIds) 

And send request:

/Categories?categoryids=1&categoryids=2&categoryids=3 

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

GetCategories([FromUri] int[] categoryIds) 
GetCategories([FromUri] int[] categoryIds) 

And send request:

/Categories?categoryids=1&categoryids=2&categoryids=3 

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

GetCategories([FromUri] int[] categoryIds) 

And send request:

/Categories?categoryids=1&categoryids=2&categoryids=3 

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

GetCategories([FromUri] int[] categoryIds) 

And send request:

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

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

GetCategories([FromUri] int[] categoryIds) 

And send request:

/Categories?categoryids=1&categoryids=2&categoryids=3