Hearthstone

無料
よって omgvamp | 更新済み vor 16 Tagen | Entertainment
人気

9.7 / 10

レイテンシー

2,225ms

サービスレベル

99%

Health Check

N/A

すべてのディスカッションに戻る

using normal AJAX request instead of unirest

Rapid account: Youngstead
Youngstead
vor 5 Jahren

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 vor 5 Jahren

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 vor 5 Jahren

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 vor 5 Jahren

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

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿