meggsimum / geoserver-node-client

Node.js client for GeoServer REST API
BSD 2-Clause "Simplified" License
51 stars 16 forks source link

`grc.security.getAllUsers()` fails #5

Open JakobMiksch opened 3 years ago

JakobMiksch commented 3 years ago

the function grc.security.getAllUsers() fails for me with status code 406

weskamm commented 3 years ago

I investigated this a bit and its not easy to fix. The security endpoint is only fully working with application/xml, while application/jsononly works half of the time. Reason seems to be a somewhat weird setup in geoserver, not easy to fix that. Maybe request and parsing XML is the easier choice here...