var url1 = "http://example.com?id=1&name=Joe"
//removes id and name parameters, only sends the age parameter
var req1 = dispatch.url(url1).setQueryParameters(Map("age" -> Seq(21)))
var url2 = "http://example.com?id=1&name=Joe&age=21"
//removes ALL query params from above
var req2 = dispatch.url(url2).setQueryParameters(Map.empty[String, Seq[String]])
Can you plese take me of the mailing list. I havn't programmed scala for almost two years now.
> --
> You received this message because you are subscribed to the Google Groups "Dispatch" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to dispatch-scal...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
dispatch.url(url1) <<?
Map("age" -> Seq(21))