Hearthstone

חינם
על ידי omgvamp | מְעוּדכָּן il y a 8 jours | Entertainment
פּוֹפּוּלָרִיוּת

9.7 / 10

חֶבִיוֹן

2,395ms

רמת שירות

99%

Health Check

N/A

חזרה לכל הדיונים

using normal AJAX request instead of unirest

Rapid account: Youngstead
Youngstead
il y a 5 ans

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 il y a 5 ans

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 il y a 5 ans

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 il y a 5 ans

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

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות