[Fixed]-How Will API's interpret Calls from my Website? Python/Django Website Project

1👍

If your webserver makes calls to the game API, then the server running the API will see all those request as coming from one IP address, being the address of your server. It doesn’t matter whether those requests were performed in a cron job or by requests from a dozen different users, since it is always your server that communicates to the game servers.

There is a way to make a user’s computer do the request, but then it will become a bit hacky. You either have to use an AJAX request, but that will only work if the server API responds with the right headers that allow cross domain AJAX calls. Or you’ll have to hack something together using iframes or fake images, but then things will become ugly quite quickly.

Leave a comment