Hi guys
Suppose Server url is : https://example.com/employee
and it returns json data
I want to call this url using Jquery in iphone
I wrote this code :
$.ajax { type: "POST",
contentType: "application/json; charset=utf-8",
url: "https://example.com/employee",
data: "{}",
dataType: "json"
success: function(res) {
} });
Is this the right way to call this https request or I need to do some other authentication also
Currently it does not work in iphone
It return's json data in firefox,chorme,IE ,safari but doesn't return it in iphone
It returns valid json when i send request to http
It returns valid json when i send request to http
Please suggest me ..
Thanks