Symbian-Developers
The Official Developers Section => Symbian Software Development Discussions => The Developers Section => Symbian Web Runtime => Topic started by: lakshmidci on June 04, 2013, 05:31:41 pm
-
Hi everyone,
I am trying to consume php web services using post method to pass the parameters but i am getting error "Network error :404 not found".When i checked by consuming the same web service in other mobile applications, its work fine.
This the code which i have used in the symbian web application:
$.ajax({
url: "http://test/test1/",
contentType: "application/json; charset=utf-8",
dataType: "json",
type: "POST",
data: '{"useremail":' + email + ',' + "password:" + password + '}',
success: function (response) {
//do whatever your thingy..
alert("Sucess");
}
});
Note : I am not using any native code for this app development. I am using html and java-script only for this apps.
Please any one can help me out or provide me any ref link to resolve this issue.
-
Daft question, but do you have network access allowed in the plist ?