I have a simple reprex on my github of RShiny application which calls GET and POST request via httr package to Python Flask flask_restx. The application works fine in docker but I’m not able to run docker image on shinyproxy.
Looks like I’m calling python flask rest api incorrectly. Python flask API runs on port 5000 and I’m calling it from RShiny such that: localhost:5000.
And this doesn’t work. This configuration for calling flask API from RShiny is in global.R file.
My question is, how can I call Python Flask rest API inside R Shiny in correct way? I’ve already tried bunch of options but none of these worked.
Could you please help me on that?