curl -s --user root:rootpwd http://localhost:8080/modules/infrastructure/readonlymode
curl -s --user root:rootpwd http://localhost:8080/modules/infrastructure/readonlymode/enable
curl -s --user root:rootpwd http://localhost:8080/modules/infrastructure/readonlymode/disable