AWS-Example/scripts/stop_flask.sh

7 lines
80 B
Bash
Executable File

#!/usr/bin/python
import requests
requests.post("http://127.0.0.1/shutdown")