ngx-resource
ngx-resource copied to clipboard
Send array of params joined by &
Hello! I need to send a query param, whose value is an array
I need to send it in the format
I think the closest would be using the Bracket
query mapping strategy of the lib:
ResourceGlobalConfig.queryMappingMethod = ResourceQueryMappingMethod.Bracket;
But then you'll need to pass the parameters adding [n]
(url encoded) after the param name: ?param%5B0%5D=val1¶m%5B1%5D=val2.