Sending query parameters with Domino-rest is as easy annotating the method argument with @QueryParam and this will automatically adds it as a query parameter to the request path. for example having the following service :
@RequestFactory
public interface MoviesService {
@Path("library/movies")
@GET
Movie getMovieByName(@QueryParam("name") String movieName);
}
Then making a request call like this :
MoviesServiceFactory.INSTANCE
.getMovieByName("hulk")
.onSuccess(movie ->{})
.send();
Then the request will be made to the following endpoint with the provided query param:
http://localhost:8080/service/library/movies?name=hulk