Make http call from node to python in heroku dyno
问题 I've inherited a repository that contains both a NodeJS part and a Python part. The project structure is such that the NodeJS is at the root of the repository, and the Python pieces are in a Python folder: root |- app |- some.js |- files.js |- Python |- other.py |- files.py I've set up a Heroku dyno to serve both a Python server and a NodeJS server, by doing this in my Procfile (based loosely on this older article): web: npm start python: sh -c 'cd ./Python/ && export PYTHONPATH=. && python