"PUT Preset" example in Github-Wiki of GenieACS doesn't work

Sergio Fernández sergio.fernandez at electronicamartinez.com
Tue Jul 7 06:20:14 EDT 2015


I don't know if it's everybody or if it's just me, but I've been trying 
the preset API to create a new preset in GenieACS, but I can't make it 
work. I only change "localhost" to my GenieACS Server IP. The code is 
the following:

|curl -i 'http://GENIEACS-IP:7557/presets/inform' \
-X PUT \
--data '{ weight: 0, precondition: "{\"_tags\":\"test\"}", configurations: [ { type: "value", name: "InternetGatewayDevice.ManagementServer.PeriodicInformEnable", value: "true" }, { type: "value", name: "InternetGatewayDevice.ManagementServer.PeriodicInformInterval", value: "300" } ] }'

Maybe it's a recent change in the GenieACS project implementation, maybe 
not. Thank you all.

- Sergio Fernández
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20150707/2c5000db/attachment.html>

More information about the Users mailing list