diff --git a/README.md b/README.md index fecea10..18f12d0 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,10 @@ Wake-on-LAN API in Node.js 2. Edit the file and add your targets ## Usage +Navigate to `http://localhost:9999` and just click the target you want to wake up. + +Or: + ### POST to `/wake` ```bash curl -X POST -H "Content-Type: application/json" -d '{ @@ -23,6 +27,11 @@ curl -X POST -H "Content-Type: application/json" -d '{ curl http://localhost:9999/wake?mac=00:AA:BB:CC:DD:EE ``` +### GET to `/targets` +```bash +curl http://localhost:9999/targets +``` + ### GET to `/wake/:name` ```bash curl http://localhost:9999/wake/