Hearthstone

ÜCRETSİZ
Taraf omgvamp | Güncelleyen 일 년 전 | Entertainment
Popülerlik

9.7 / 10

Gecikme

10,751ms

Hizmet Düzeyi

98%

Tüm Tartışmalara Dön

using normal AJAX request instead of unirest

avatar
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…

avatar
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())

avatar
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!!

avatar
omgvamp commented 4년 전

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

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun
Değerlendirme: 5 - Oy Sayısı: 2