diff --git a/debug-worker-add.sh b/debug-worker-add.sh new file mode 100755 index 00000000..62a154eb --- /dev/null +++ b/debug-worker-add.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +curl -v -X 'POST' \ + 'http://localhost:8080/api/v3/worker/register-worker' \ + -H 'accept: application/json' \ + -H 'Content-Type: application/json' \ + -d '{ + "name": "Test Worker", + "secret": "abcdefg", + "platform": "Linux", + "supported_task_types": ["blender", "ffmpeg", "file-management", "misc"] +}'