Hello, I'm newbie in Restlet, and my problem is to send parameter to servlet from a Restlet Client. The servlet receive request in format : application/x-www-form-urlencoded param1=value1¶m2=value2&....
And my client to ask the server : Client client = new Client(Protocol.HTTP); Representation rep = new JsonRepresentation(myJsonObject); rep.setMediaType(MediaType.APPLICATION_WWW_FORM); Request request = new Request(Method.POST, "http://127.0.0.1:8080/myServlet",rep); Response response = client.handle(request); But the servlet receive a JSONObject : {"param1":"value1",....} Where's the mistake? Thanks. Hubert ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2697016

