1 Reply Latest reply on Jun 6, 2016 9:10 AM by nickarls

    RESTEasy @FormParam not mapping

    nickarls

      I have a strange problem (and I think I had it working at some point) :-/

       

      I have a simple JAX-RS endpoint (imports are correct) on WF10

       

         @Path("foo")

         @POST

         @Consumes(MediaType.APPLICATION_FORM_URLENCODED)

         public void foo(@FormParam("a") String a, @FormParam("b") String b);

       

      with an implementation, but when the endpoint is hit, I get null for both a and b. This is driving me crazy, I'm using the Chrome Advanced REST client and I'm sure the header is correct (content-type) and I have verified the raw POST a=foo&b=bar

       

      There are not external RESTEasy stuff needed for this, right?

       

      Thanks in advance,

      Nik