I'm stucked with this problem: I need to create this url
.../check?variables=[]&last_name=name&...
So I'm using com.ning.http.client.RequestBuilder for building me request I tried doing that way, but it's doesn't work for some reason
RequestBuilder reqBuilder = new RequestBuilder()
.setUrl(url+"/check")
.setMethod("GET")
.setHeader("Bauth-Token", token)
.addQueryParam("variables","")
.setQueryParams(params);
Pls, give an advice, what I should do.
如果您希望variables
具有值[]
,为什么要将其设置为空字符串?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.