Prefix all commands with
https://10.1.1.1/api/?key=API_KEY
&type=op&cmd=<request><restart><system></system></restart></request>
&type=op&cmd=<request><shutdown><system></system></shutdown></request>