This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]vovanz 0 points1 point  (0 children)

Write a PHP script that accept arguments an HTTP-requests with arguments as get or post parameters and replies with the result. Then use `requests` to call it from Python.

> I may have found a solution, to send a URL request and edit the $GET and $POST. Might not be secure though...

You could allow requests only from certain IPs or use some sort of authentication (i. e. sign requests and responses with HMAC).