Re: [Resteasy-users] Mixing query and form parameters

2013-01-23 Thread Bill Burke
I'm surprised this doesn't work, as I coded for it, and I thought we had a unit test for it. So, its the form parameter that doesn't show up, correct? Query parameters in Resteasy come directly from parsing the request URI. On 1/23/2013 4:49 AM, Weinan Li wrote: > Thanks Denica! I've assigned

Re: [Resteasy-users] Mixing query and form parameters

2013-01-23 Thread Weinan Li
Thanks Denica! I've assigned this issue to me and will work on it. -- Weinan Li Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Wednesday, January 23, 2013 at 5:20 PM, Denica Gencheva wrote: > > > > Could you please explain why you need to send "action" parameter both in > > reque

Re: [Resteasy-users] Mixing query and form parameters

2013-01-23 Thread Denica Gencheva
> > > Could you please explain why you need to send "action" parameter both in > request param and in form param? > I don't need to, but when I expose a web service people hit it like this and in the HTTP RFC this is no forbidden. However we opened task about this: https://issues.jboss.org/browse/

Re: [Resteasy-users] Mixing query and form parameters

2013-01-22 Thread Weinan Li
-- Weinan Li Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, January 22, 2013 at 9:46 PM, Denica Gencheva wrote: > Hi, I'm facing the following problem: @Path("/my_path") > @Produces(MediaType.TEXT_HTML) public interface MyService { @GET Response > readAction(@QueryParam(

[Resteasy-users] Mixing query and form parameters

2013-01-22 Thread Denica Gencheva
Hi, I'm facing the following problem: @Path("/my_path") @Produces(MediaType.TEXT_HTML) public interface MyService { @GET Response readAction(@QueryParam("action") String action); @POST Response postReadAction(@FormParam("action") String action) } $ curl -d "action=test