Re: [Resteasy-users] POST Request URL Pattern

2013-02-01 Thread Bill Burke
Its ok to use query parameters as long as they are part of the identity of the resource. IMO, don't use them to modify a resource. Instead pass a representation with your POST. On 2/1/2013 3:34 AM, Denica Gencheva wrote: > On 01/02/2013, Nuwan Bandara wrote: >> Hi, >> >> I have a RESTeasy web

Re: [Resteasy-users] POST Request URL Pattern

2013-02-01 Thread Denica Gencheva
On 01/02/2013, Nuwan Bandara wrote: > Hi, > > I have a RESTeasy web service. It accept POST requests. As an example > client will call the web service like this > > http://localhost:8080/n-tweb-comm-war/ws/updateResultIndicator;accessionNumber=1;analyteCode=2;workstation=3;siteCode=4;testIndicator

Re: [Resteasy-users] POST Request URL Pattern

2013-01-31 Thread Adrian Rodriguez
I would do something like http://localhost//results/ Post your data as URL form encoded data. Any client should do this for you with a setParameter("accessionNumber", 1) style call. Your resources should take those params as @FormParam("accessionNumber") Long accessionNumber If the call is meant

[Resteasy-users] POST Request URL Pattern

2013-01-31 Thread Nuwan Bandara
Hi, I have a RESTeasy web service. It accept POST requests. As an example client will call the web service like this http://localhost:8080/n-tweb-comm-war/ws/updateResultIndicator;accessionNumber=1;analyteCode=2;workstation=3;siteCode=4;testIndicator=5;testStatus=66 My question; 1. is this a