Telize

ОПЛАЧЕНО
От Frederic Cambus | Обновлено 25 дней назад | Location
Популярность

9.8 / 10

Задержка

84ms

Уровень обслуживания

100%

Health Check

N/A

Назад ко всем обсуждениям

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.

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии