I am trying to pass a JSON object in a restlet client get request as follows:

final Client client = new Client(Protocol.HTTP);
                                                Log.info( "json = "+json);
        client.get("http://localhost:8080/greet"+"/"+json, new Callback() {
                                                        @Override 
                                                        public void 
onEvent(Request request, Response response) {

This get request gives me the following error:

2009-11-21 22:49:08,921 [FATAL] Uncaught Exception:
java.lang.IllegalArgumentException:
Invalid character detected in URI reference at index '28': "{"

any help would be appreciated.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2422957

Reply via email to