[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

Re: [Resteasy-users] Cannot upload file to RESTEasy service using @MultipartForm , POJO and Client Framework

2013-01-22 Thread Weinan Li
Hi Gabriella, I've created an example for you to use: https://github.com/liweinan/try-resteasy/blob/multipart/src/main/java/net/bluedash/resteasy/multipart/MultipartClient.java I'm using Apache Http Client as client-side codes. I've also found some issues about RESTEasy's client API, but I ne

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(