Hearthstone

免费
通过 omgvamp | 已更新 2 years ago | Entertainment
人气

9.7 / 10

延迟

13,626ms

服务等级

98%

返回所有讨论

using normal AJAX request instead of unirest

Rapid account: Youngstead
Youngstead
4 years ago

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 years ago

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 years ago

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 years ago

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

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论
打分:5 - 投票:2