Answer the question
In order to leave comments, you need to log in
How do I send data from the site to my PC?
There is a third-party site that sends a get request to another (my) site, the site (php is available) receives them and sends data from it to me on the PC where the python script is running.
The question is how to send data from the site (php) to the PC (python).
Tried through the socket, but it did not work. ANY options
are possible .
Please provide an example of code or a site with an example, if possible.
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
A web server is set up on your PC so that it is visible from the Internet. Those. If the PC is connected through a router, then port forwarding is done.
On the site, you simply make a request to your server on your PC. And this server pulls a python script.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question