7 lines
294 B
Python
7 lines
294 B
Python
import config
|
|
import commands
|
|
|
|
command = """curl -H "Content-Type: application/json" -X POST -d '{"message": "I am aliveeee (again!)", "controller_id": %s}' https://dweet.io:443/dweet/quietly/for/5410ab1e-319c-4f14-a2e4-04725df69121""" % config.CONTROLLER_ID
|
|
|
|
print commands.getoutput(command)
|