0

Help with XMLHttpRequests

Hi. Recently I learned about XMLHttpRequests in order to request data from a server. I tried this in order to get the "arena" of a game, since it appeared in the network. The preview of it presented me with exactly what I wanted, a series of numbers and letters that allowed people to connect to the arena. Despite this, on several occasions when I tried to request it, it always returned to me some sort of blue print. Instead of supplying me with what was shown on the preview, it presented me with the following: 0.0.0.0:0 status: "invalid_client". I would really appreciate some help with this. Thank you in advance.

21st Jun 2020, 6:02 PM
NomadTP
2 Réponses
+ 2
This cannot be done with any server.
21st Jun 2020, 7:19 PM
JaScript
JaScript - avatar
+ 1
Please show your code.
21st Jun 2020, 7:05 PM
Souptik Nath
Souptik Nath - avatar