Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3630

Apache HttpComponents URIBuilder rest with multivalue params

$
0
0

I am trying to send a GET request to an endpoint similar to this:

  http://{hostname}api/search/artifact?name=junit&repos=snapshot,deploy,release

I have a parameter (repos) with comma separated values. I am looking a way to send this request with URIBuilder of Apache HttpComponents. I have tried constructing NameValuePair ( same name[repos] but different values), but this is format is not valid for the api. Can anybody help?


Viewing all articles
Browse latest Browse all 3630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>