Telize

שולם
על ידי Frederic Cambus | מְעוּדכָּן il y a 25 jours | Location
פּוֹפּוּלָרִיוּת

9.8 / 10

חֶבִיוֹן

84ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

FAILED RESPONSE IN IE9 AND BELOW

Rapid account: Gjsingh
gjsingh
il y a 8 ans

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 il y a 8 ans

Cool, thanks !

Rapid account: Fcambus
fcambus Commented il y a 8 ans

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 il y a 8 ans

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 il y a 8 ans

We are using version 1.10.2

Rapid account: Gjsingh
gjsingh Commented il y a 8 ans

Ok, thanks a lot… I’ll check that

Rapid account: Fcambus
fcambus Commented il y a 8 ans

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 il y a 8 ans

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 il y a 8 ans

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.

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות