I need to pass the multiple value for a single query parameter in spring rest template , the query parameter is status and it values can be in progress,completed,rejected so I have pass them as values separated by comma , please advise is it the correct approach
HttpEntitiy<String> entity = httpEntitiyService.buildHttpEntity(null;"track status");
String url ="https://example/api/2/progress"
UriComponentsBuilder builder = UriComponentsBuilder.fromHttpUrl(url)
.querParam("status","inprogress,completed,rejected"); // please advise it is the correct approach
statusvalue is, so we can't help with that, since we don't know the server.