Answer the question
In order to leave comments, you need to log in
Can 2 applications access the POST/GET array at the same time?
Hello.
If I send a POST request to the server, then in PHP I can get its contents through
print_r($_POST)
Question: how can I access the same request in Flask (Python framework)
Answer the question
In order to leave comments, you need to log in
2 applications can't listen on the same port at the same time, so no. Is it possible to relay all incoming requests to another application
They can, but it's a perversion. Caught in php request, processed, passed curl to flask, processed
For GET, look at the environment variables of the web server used, for apache, for example, REQUEST_URI contains a request, it can be parsed, this variable is available to all applications launched from apache and its descendants (unless, of course, they are specially cleaned).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question