Manually Trigger Preset for Debugging Provisioning Scripts
Scott Miller
cubicalmonkey at gmail.com
Fri Mar 29 07:56:32 EDT 2019
For development purposes is it possible to trigger a preset from an API
call or through some other manual method ?
In the doc section I see where to create, delete and show provisions but
nothing to execute.
I want to provision a device during reboot. In order to debug my provision
script I'd rather not have to reboot the device a bunch of times to avoid
waiting for the device to come back.
Something like the below that would execute the provision without actually
having to reboot my device.
curl -i 'http://localhost:7557/provisions/PROVISION_STUFF' -X POST \ --data
'{ "arg1": "TEST", "arg2": "TESTING"}'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20190329/0a2573de/attachment.html>
More information about the Users
mailing list