Forums

App is not receiving back the response status of a POST request

Hi guys, I'm trying to play around with PythonAnywhere and I made a simple game in Godot which sends a POST request to store the username on a database via Flask web app. However, when I try this in Local (with my Local Host) I'm able to check the status of the request, and I basically ask the game to verify whether the status is 200 (success). This works fine. However, my game cannot receive back the status once I move from Local to PythonAnywhere host. Why?

What code are you using to make the request?