Telize

PAID
By Frederic Cambus | Updated 13 days ago | Location
Popularity

9.8 / 10

Latency

83ms

Service Level

100%

Health Check

N/A

Back to All Discussions

FAILED RESPONSE IN IE9 AND BELOW

Rapid account: Gjsingh
gjsingh
8 years ago

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 years ago

Cool, thanks !

Rapid account: Fcambus
fcambus Commented 8 years ago

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 years ago

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 years ago

We are using version 1.10.2

Rapid account: Gjsingh
gjsingh Commented 8 years ago

Ok, thanks a lot… I’ll check that

Rapid account: Fcambus
fcambus Commented 8 years ago

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 years ago

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 years ago

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