flashapi To trigger a shell script run the python file with python3 api.py Then hit the api endpoint with curl curl -i http://127.0.0.1:5000/trigger_script