json post not working

2011-05-13 Thread julio
Hi I have a json POST like this: { first: 10 , second : 50 } with content-type:application/json With an external client the server replies correctly, but using: RequestBuilder rb = new RequestBuilder(RequestBuilder.POST, url); rb.setHeader(content-type, application/json);

Re: json post not working

2011-05-13 Thread julio
Sorry forget it, it works properly, was a XSS problem Julio On May 13, 11:57 am, julio antongiuli...@gmail.com wrote: Hi I have a json POST like this: { first: 10 , second : 50 } with content-type:application/json With an external client the server replies correctly, but using: