Telize

PAID
By Frederic Cambus | Updated 25 दिन पहले | Location
Popularity

9.8 / 10

Latency

84ms

Service Level

100%

Health Check

N/A

Back to All Discussions

FAILED RESPONSE IN IE9 AND BELOW

Rapid account: Gjsingh
gjsingh
8 वर्ष पहले

TELIZE API DOES NOT GIVE ANY RESULT IN INTERNET EXPLORER BROWSER 9 AND BELOW. REQUEST WAS MADE VIA AJAX REQUEST LIKE THIS:

$.ajax({
url: ‘https://telize-v1.p.mashape.com/geoip’,
type: ‘GET’,
data: {},
dataType: ‘json’,
success: function(data) {
countryCode = data.country_code;
},
error: function(err) {
alert(err);
},
beforeSend: function(xhr) {
xhr.setRequestHeader(“X-Mashape-Authorization”, <<key>>);
}
});

THE SAME REQUEST WHEN MADE VIA CHROME, OR FIREFOX I GET FINE RESULTS

Rapid account: Gjsingh
gjsingh Commented 8 वर्ष पहले

Cool, thanks !

Rapid account: Fcambus
fcambus Commented 8 वर्ष पहले

Hello,

This is an Internet Explorer specific issue. Unfortunately, I cannot help on this topic.
You could try changing authentication methods to see if the issue is caused by sending authentication HTTP headers.

Documentation regarding Authentication Settings is available here : http://docs.mashape.com/auth-settings

Regards.

Rapid account: Gjsingh
gjsingh Commented 8 वर्ष पहले

Hi fcambus,
We need to support Telize API response in IE 9 and below versions. As gargsuchi mentioned, we are using jQuery 1.10.2. The error response that we get in IE9 is :
{readyState: 0, responseJSON: undefined, status: 0, statusText: “No Transport”}

And for the same request in Chrome, FireFox, Safari we get a successful response :
Object {offset: “5”, longitude: 77.32, city: “Noida”, timezone: “Asia/Kolkata”, latitude: 28.57…}

Rapid account: Gargsuchi
gargsuchi Commented 8 वर्ष पहले

We are using version 1.10.2

Rapid account: Gjsingh
gjsingh Commented 8 वर्ष पहले

Ok, thanks a lot… I’ll check that

Rapid account: Fcambus
fcambus Commented 8 वर्ष पहले

Hi,

I mean the library you are using to make the API request. For example, jQuery 2.x does not support Internet Explorer 6, 7, or 8.

Regards.

Rapid account: Gjsingh
gjsingh Commented 8 वर्ष पहले

Hi,
Could you please be specific with this line -
"Please make sure the library you are using to perform requests has support for the Internet Explorer versions you are targetting."
We are using the Telize Geo IP library. Do you mean something other than this ?

Rapid account: Fcambus
fcambus Commented 8 वर्ष पहले

Hello,

As you noticed, it works fine on Chrome and Firefox, which means it’s not an issue with Telize API endpoint.

Please make sure the library you are using to perform requests has support for the Internet Explorer versions you are targetting.

Regards.

Join in the discussion - add comment below:

Login / Signup to post new comments