Hearthstone

БЕСПЛАТНО
От omgvamp | Обновлено לפני שנתיים | Entertainment
Популярность

9.7 / 10

Задержка

14,137ms

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

98%

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

using normal AJAX request instead of unirest

Rapid account: Youngstead
Youngstead
לפני 4 שנים

Is this API only available using unirest. My requests returns everything either null or empty strings when I use AJAX. Maybe I’m missing something…

Rapid account: Pendygg
pendygg Commented לפני 4 שנים

YES i tried to use native AJAX, it worked.
Only need to set header before send a request (XMLHttp​Request​.set​Request​Header())

Rapid account: Youngstead
Youngstead Commented לפני 4 שנים

I tried single card and all cards. I think it is probably an error on my end as I am new to htttp requests in general…But now that I know that unirest is just an example I will keep working on it. this is a very awesome API!!

Rapid account: Omgvamp
omgvamp Commented לפני 4 שנים

No Unirest is just an example. Which endpoint are you trying to get data from?

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

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии
Оценки: 5 - Голосов: 2