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