You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2026. It is now read-only.
I'm trying to call a script to control PSU control but the following line seems to cause issues. Of course, the correct API key and server address has been changed.
I'm trying to call a script to control PSU control but the following line seems to cause issues. Of course, the correct API key and server address has been changed.
curl -s -H "Content-Type: application/json" -H "X-Api-Key: YOUR_API_KEY" -X POST -d '{ "command":"turnPSUOn" }' http://YOUR_OCTOPRINT_SERVER/api/plugin/psucontrol
I created a script to touch a file which works, but doesn't like the above line.
I've read running scripts have been hit or miss. Any one have any insight?