What i am doing currently creating json object and passing to volley for service call, its placing back slash in jsonObject in key value result is getting 404. following is my code and creating jsonObject.
JSONObject params = new JSONObject();
params.put("user_name", "syedshah11@gmail.com");
params.put("password", "6e7a0497daffa4554cc28973bc129632");
params.put("key", "ly9jCDu03/1:3M1");
And as i debuged the josnObject adding extra \ (forward slash in my key json object thats why service break through as 404) following is json getting through debug.
{
"password": "6e7a0497daffa4554cc28973bc129632",
"user_name": "syedshah11@gmail.com",
"key": "ly9jCDu03\/1:3M1"
}
So how to remove this \ extra forward slash as instead of this ly9jCDu03/1:3M1
its making ly9jCDu03\/1:3M1
any help could be appreciated.
Thanks in Advance