Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - clifford64

#1
General Discussion / Re: API for WOL with Curl
March 01, 2025, 11:02:04 PM
I had some success with using the host UUID configured. I was able to get the UUID from "https://<hostname>/api/wol/wol/searchhost" call.

curl -X POST -d '{"uuid":"<UUID>"}' -k -H "Content-Type: application/json" -H "Authorization:Basic <Base64 API key and secret>" https://<hostname>/api/wol/wol/set
When run successfully, I receive a response back of {"status":"OK"}