multiple parameters function with JSON

Help
gal
2011-11-30
2013-06-06
  • gal
    gal
    2011-11-30

    Hi, I am trying for a while to expose a function with multiple parameters with JSON.
    example:

    @POST
    @Path("/foo")
    @Consumes("application/json")
    @Produces("application/json")
    public RObject foo(Param1 p1, Param2 p2)

    I cant make this work, meaning I cant write a post request that will make this function work.
    can anyone help with the request?

    Thanks.