Hi,

I am using jetty9 and running into issues while passing parameters using
POST -

My service exposes multiple operations - op1(param1,param2)
op2(param1,param2)

I want to invoke op1(param1,param2) using jetty's httpClient and both
parameters are not strings.

HttpClient client = new HttpClient();
client.start();
ContentResponse response = httpClient.POST("http://www.example.com/myService";);

reponse.Param() accepts only String pairs.

How do I specify -

1. Method I want to call as op1

2. Pass in two params, param1 and param2 that are not strings


Please help!


Thanks!
_______________________________________________
jetty-users mailing list
jetty-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to