Re: [Resteasy-users] @POST vs @GET

2013-01-02 Thread Bill Burke
I wouldn't use matrix param. I've encountered a few non-Java libraries that have had problems parsing urls with matrix params. Built-in HTTP library for Python is one. On 1/2/2013 11:20 AM, Nuwan Bandara wrote: > Thank you for all the inputs. With the help of your inputs and Resteasy > documen

Re: [Resteasy-users] @POST vs @GET

2013-01-02 Thread Nuwan Bandara
Thank you for all the inputs. With the help of your inputs and Resteasy documentation's help I've decided to use @PUT and @MatrixParam to accept and map the client parameters. On Wed, Jan 2, 2013 at 6:25 AM, Bill Burke wrote: > > > On 12/31/2012 12:42 PM, Nuwan Bandara wrote: > > Hi, > > > > I'm

Re: [Resteasy-users] @POST vs @GET

2013-01-02 Thread Bill Burke
On 12/31/2012 12:42 PM, Nuwan Bandara wrote: > Hi, > > I'm new to Resteasy $ Webservices. I'm in the process of exposing one of > my stateless session bean remote interface as a resteasy web service. > Application configuration is done and able to expose the methods as web > services. > My $5 be

Re: [Resteasy-users] @POST vs @GET

2012-12-31 Thread Adrian Rodriguez
Your questions are more general REST questions. Try to read about REST in general, but for question 2, I would use @PUT instead of @POST since it's updating existing data. @GET is appropriate when you are retrieving data (you want to get all the current data for a user). Sent from my iPhone On De