Hi , I just want to know how to pass two parameters to a @POST annotated method. Here is the header of the method
@SuppressWarnings("unchecked")
@POST
@Path("/insert/doc1")
@Consumes( { "application/json", "application/xml", "text/xml" })
@Produces( { "application/json", "application/xml", "text/xml" })
public Response MyMethodToInsert(ObjectType1 object_1, ObjectType2
object_2 ) {
....
}
Thanks.
