- curl -v -H "Content-Type: application/json" -d '[{"tgt": "<target>","service": "ntpd","secretkey": "<key>"}]' "http://<hostip>:8000/hook/services/restart"
- * About to connect() to <hostip> port 8000 (#0)
- * Trying <hostip>...
- * Connected to <hostip> (<hostip>) port 8000 (#0)
- > POST /hook/services/restart HTTP/1.1
- > User-Agent: curl/7.29.0
- > Host: <hostip>:8000
- > Accept: */*
- > Content-Type: application/json
- > Content-Length: 113
- >
- * upload completely sent off: 113 out of 113 bytes