- Code: Select all
#!bin/sh
/usr/bin/curl -u User:Password! --digest -X PUT -d value=blue http://192.168.111.11:8176/variables/CCCBackup
/usr/bin/curl -u User:Password! --digest -X PUT -d value=$(date +start@:%d_%m-%H:%M) http://192.168.111.11:8176/variables/CCCBackupDate
How can we convert this to a Local Secret Authentication?
- a new JSON file must be created into the directory?:
/Library/Application Support/Perceptive Automation/Indigo 2023.2/Preferences/secrets.json
- In that JSON file must be the password?
Thanks for the support and patience.
John