I'm a bit confused about passing info into a service with query parameters...
I have this service:
and if I send the following with Postman it works
I built it this way because I'm creating two objects (Customer and Coffee) and POSTing separately to their own services.
I made a simple JSF UI to take the input from the form and POST the service using the Client API. I think this time I'm confused because I don't really need the Response of the service, the POST will happen and the view will be refreshed to show the additions.
I thought something like this but I don't know what entity to put in the post method argument:
Should I create an object and pass that as a post entity argument?