Quantcast

multiple key/value pairs in post-request

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

multiple key/value pairs in post-request

getagrip
As of 0.8.0 is it possible to add multiple key/value pairs to the dispatch-request with the key having the same value?

e.g.
userid -> joe
userid -> sally

If so, could you give a short example?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: multiple key/value pairs in post-request

n8han
Administrator
Sure!

scala> h(:/("example.com") << Seq("a"->"b","a"->"c") >>> System.out)

You can pass in any Traversable[(String, String)]

Nathan

On 04/17/2011 02:06 PM, getagrip [via Databinder] wrote:
As of 0.8.0 is it possible to add multiple key/value pairs to the dispatch-request with the key having the same value?

e.g.
userid -> joe
userid -> sally

If so, could you give a short example?


If you reply to this email, your message will be added to the discussion below:
http://databinder.3617998.n2.nabble.com/multiple-key-value-pairs-in-post-request-tp6281454p6281454.html
To start a new topic under Databinder, email [hidden email]
To unsubscribe from Databinder, click here.

Loading...