infinitered / bluepotion

Like RedPotion, but for Android
MIT License
74 stars 18 forks source link

Allow array as param #108

Closed bmichotte closed 8 years ago

bmichotte commented 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

This PR allows the use of Array in params and prepare_params to fit this array notation

The use will be

app.net.post(SomeUrl, { ids: [1, 2] })