How to add query parameters to a HTTP GET request by OkHttp?
问题 I am using the latest okhttp version: okhttp-2.3.0.jar How to add query parameters to GET request in okhttp in java ? I found a related question about android, but no answer here! 回答1: As mentioned in the other answer, okhttp v2.4 offers new functionality that does make this possible. See http://square.github.io/okhttp/2.x/okhttp/com/squareup/okhttp/HttpUrl.Builder.html#addQueryParameter-java.lang.String-java.lang.String- This is not possible with the current version of okhttp, there is no