<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
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:<br>
<br>
<pre><code>curl -i '<a class="moz-txt-link-freetext" href="http://GENIEACS-IP:7557/presets/inform">http://GENIEACS-IP:7557/presets/inform</a>' \
-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" } ] }'
</code></pre>
<br>
Maybe it's a recent change in the GenieACS project implementation,
maybe not. Thank you all.<br>
<br>
- Sergio Fernández<br>
</body>
</html>