How to add indexes to array in query string?
I tried send data like this:
axios.get(\'/myController/myAction\', { params: { storeIds: [1,2,3] }) <
axios.get(\'/myController/myAction\', { params: { storeIds: [1,2,3] })
You can use paramsSerializer and serialize parameters with https://www.npmjs.com/package/qs
paramsSerializer
axios.get('/myController/myAction', { params: { storeIds: [1,2,3] }, paramsSerializer: params => { return qs.stringify(params) } })