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