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
If I remove the @FormParams and just have a foo(String x) then the raw payload reaches the String just fine. Something with the parsing...