-godot-gj-api
-godot-gj-api copied to clipboard
[Godot 3] How to get api to work on HTML5
I am trying to get the gamejolt api to work on my html5 game but an attempt to connect instantly fails, and i get this in the console.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://gamejolt.com//api/game/v1/users/auth/?user_token=MyUserToken&username=MyUserName&format=json&game_id=MyGameID&signature=MyGameSignature. (Reason: missing token ‘user-agent’ in CORS header ‘Access-Control-Allow-Headers’ from CORS preflight channel).
I'm using firefox 59.0.1 And I am running Godot v3.0