Hearthstone

GRATIS
Door omgvamp | Bijgewerkt 8 giorni fa | Entertainment
Populariteit

9.7 / 10

Latency

2,395ms

Serviceniveau

99%

Health Check

N/A

Terug naar alle discussies

using normal AJAX request instead of unirest

Rapid account: Youngstead
Youngstead
5 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 5 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 5 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 5 years ago

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

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen