Re: Problem doing POST with REST

2010-04-12 Thread Nathan Wells
Looks like you need to implement the toRepresentation method. ClientResource is not a GWT-provided class, so you may need to explain a bit better what your environment looks like. If ClientResource is a part of a library you're using, you might need to talk to the authors of the library, or find a

Re: Problem doing POST with REST

2010-04-11 Thread mram
Any ideas? On 8 abr, 16:05, mram wrote: > Hi everybody, >   I have a problem using POST with REST. I do POST this way: > > ClientResource r2 = new ClientResource("/api/rest/serverReceiveUser"); > >                                     JSONObject objeto=new JSONObject(); >                          

Problem doing POST with REST

2010-04-08 Thread mram
Hi everybody, I have a problem using POST with REST. I do POST this way: ClientResource r2 = new ClientResource("/api/rest/serverReceiveUser"); JSONObject objeto=new JSONObject(); objeto.put("email", new JSONString("b"));