I want to do this, but I want to also be able to pass in arrays into the query string. I\'ve tried things like:
http://www.sitename.com/route?arr[]=this&
Given:
public ValuesController { public IACtionResult Get([FromUri]string[] arr) { Return Ok(arr.Length); } }
The following request will work:
GET /api/values/?arr[0]=a&arr[1]=b&arr[2]=c