Hi Willi, please note that REST requests are bound to the calling client; as such, they cannot be used to change global settings. If you want to set chop=false for all operations, you should set this option in the configuration files or as a system property [1]. If you want to restrict options to a particular command, you may as well specify them via POST [2].
Best, Christian [1] http://docs.basex.org/wiki/Options [2] http://docs.basex.org/wiki/REST#POST_Requests ___________________________ On Wed, Mar 27, 2013 at 10:20 PM, Willi Firulais <[email protected]> wrote: > Hallo, > > I started using baseX and it seems realy to be a great thing. > > I like to set a paramter for a dabase using REST - but not success. > What i'm doing wrong? > > http://127.0.0.1:8080/BaseX77-20130321.085136/rest/osmdb?command=SET+CHOP+FALSE > > http://127.0.0.1:8080/BaseX77-20130321.085136/rest/osmdb?command=GET+CHOP > > The Paramter value does not change. > > Following the instruction on this page only local options can be modified, > but "CHOP" is not classified a global option. > http://docs.basex.org/wiki/Commands#SET > http://docs.basex.org/wiki/Options > > Thx a lot for hints, Willi > > _______________________________________________ > BaseX-Talk mailing list > [email protected] > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > _______________________________________________ BaseX-Talk mailing list [email protected] https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

