api/events?filter[filter]=123&page=5&sort=-date
this.$axios.$get('events', { params: {filter: this.filter.q, page: this.pagination.page, sort: this.sort});
?filter={"filter":123}
?filter[filter]=123
var unencoded = qs.stringify({ a: { b: 'c' } }, { encode: false });
assert.equal(unencoded, 'a[b]=c');
{
params: {
filter: {filter: this.filter.q},
},
paramsSerializer: function (params) {
return Qs.stringify(params, {arrayFormat: 'brackets', encode: false})
},
}