Hey, Construct community!
I'm trying to figure out how I can hide the AJAX request sent by one of my games.
For example, to fetch current scores and leaderboard, I make a simple request to a PHP file:
my_server/getscores.php (because I store different minigames' scores in that db).
Then, I use it in the game to display the current leaderboard.
When the player wants to submit his score, I also call a PHP file:
my_server/savescores.php
PHP scripts and DBs are on one of my servers, but the game is hosted on another project website (without any db), and I don't want users to see the requests being made to my domain.
If you open the web browser debugger you see the requests in plain text.
Is there a way to hide the AJAX request?
PS: Currently only my server domain and the other project domain are allowed to access the PHP files thanks to a .htaccess file.
Thanks for your help and have a nice day!