I have a task in Syncthing I would like to have automated, and I’ve been told I can use the REST API for it. I would like Syncthing to automaticly revert a receive only folder, this is the API string that should run to execute a revert on the local Syncthing. I cannot seem to get it to work, can anyone help with how to get this to run as a scheduled task on a Windows 2022 server?
curl -X POST -H X-API-Key:… http://127.0.0.1:8384/rest/db/revert?folder=default