Closed bmichotte closed 8 years ago
Let's say I want to request a page with an array of ids. The params should be something like url?id[]=1&id[]=2 or url?id[0]=1&id[1]=2
url?id[]=1&id[]=2
url?id[0]=1&id[1]=2
This PR allows the use of Array in params and prepare_params to fit this array notation
Array
prepare_params
The use will be
app.net.post(SomeUrl, { ids: [1, 2] })
Let's say I want to request a page with an array of ids. The params should be something like
url?id[]=1&id[]=2
orurl?id[0]=1&id[1]=2
This PR allows the use of
Array
in params andprepare_params
to fit this array notationThe use will be