Set HTTP GET Parameters in Finagle
finagle
Solution
You can use the confusingly-named `Request.queryString`:
val request = RequestBuilder()
.url(Request.queryString("http://www.example.com/test", Map("key" -> "value"))
.buildGet()
Problem
In Finagle, how do I create a request an HTTP GET request with parameters in a safe, clean way? ``` val request = RequestBuilder() .url("http://www.example.com/test") .addParameter("key", "value") // this doesn't exist .buildGet() request // should be a GET request for http://www.example.com/test?key=value ```