I am able to download all presets with a single command:
curl -s 'http://acstest:7557/presets' -X GET | python -m json.tool > ../provision/testing/presets.json
my goal is to be able to edit them from NetBeans and upload them on every change, but I get 405 Method Not Allowed.
rudy@rudy:~/37sur/TR069_/testing$ curl -X PUT -i 'http://acstest:7557/presets' --data-binary "@/home/rudy/37sur/TR069_/provision/testing/presets.json" ; echo HTTP/1.1 405 Method Not Allowed GenieACS-Version: 1.2.4+20210304173832 Allow: GET, HEAD Date: Fri, 14 May 2021 15:42:00 GMT Connection: keep-alive Transfer-Encoding: chunked 405 Method Not Allowed rudy@rudy:~/37sur/TR069_/testing$
Is there any “standard” way to update them all at once ? I’m guessing there’s a security concern about this.