I am trying to exectue the following REST url using Android but I get the following error,
11-23 12:12:32.749: E/AndroidRuntime(709): Caused by: java.lang.IllegalArgumentException: Illegal character in query at index 121: http://xxxxxxxxxxxxxxxxx.com/add.php?key=xxxxxxxxxxxx&type=Timbuktu&description=Africa&latitude=16.776767&longitude=-3.006361&private={"tag":"test"}
When I call the same URL in a browser, it works. Any help would be apprciated !