Try using this code when passing a value in a query string, pass it as an entity instead.
Now your url contains a link to the page without any parameters with this, and it will complete with updatepeople.php
HttpPost httpPost = new HttpPost(url); List<NameValuePair> param = new ArrayList<NameValuePair>(); param.add(new BasicNameValuePair("pilotid", "1651")); param.add(new BasicNameValuePair("firstname", "Nexus")); param.add(new BasicNameValuePair("lastname", "Google")); param.add(new BasicNameValuePair("nickname", "abc%xyz")); httpPost.setEntity(new Unew UrlEncodedFormEntity(param));
now execute it and continue as you can
source share