In a REST API POST is used to create a resource, i.e. add an item to an array.
To change an existing resource, such as the network collection, PUT should be used.
curl 127.0.0.1/api/loraNetwork/network -X PUT -H "Content-Type: application/json" -d '{"public":1}'