How to call python functions from a flask instance and return values
here is what I need to do: I have a python app with a Flask instance running on machine A and another python app running on machine B. The code on machine B shall call a url post request with a json like this: response=requests.post(url="http://127.0.0.1:5000/get_remote_data", json={"my_key":"my_value"}) The problem is that I don’t know how to… Read More How to call python functions from a flask instance and return values