Skip to content
This repository has been archived by the owner on Oct 26, 2019. It is now read-only.

[feature] Support for multi value with same key on POST #4

Closed
reki2000 opened this issue May 13, 2014 · 2 comments
Closed

[feature] Support for multi value with same key on POST #4

reki2000 opened this issue May 13, 2014 · 2 comments
Assignees

Comments

@reki2000
Copy link

Expected usage:

Map<String,Object> params = new HashMap<String, Object>();
params.put("single", "value"); // of course, this works now
params.put("multi", new String[] { "value1", "value2" }) ; // this doesn't work - want to pass array or Iterable
Response response = HTTP.post("http://someurl", params);

If this interface looks good, I would make PR for this issue

@seratch
Copy link
Contributor

seratch commented May 13, 2014

I think it looks good.

seratch added a commit that referenced this issue May 13, 2014
Support for multi value with same key on POST. Fixes #4
@seratch
Copy link
Contributor

seratch commented May 13, 2014

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants