POST operations that consume JSON are failing with "GET method cannot have a body".
@POST
@Path("/members/
")
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_JSON)
public Member saveMember(@PathParam("key") int key, Member member)
- All methods that do not consume JSON work just fine. The ProxyFactory client (used for my unit tests) will fail on any resource POST consuming JSON.
- AJAX calls directly from the browser work fine in both directions, so the issue is limited to the client proxy that RESTEasy generated.
- The 500 error message is "GET method cannot have a body".