So I am working on a CouchDB Gui Toolbox for easier maintaining an setting up CouchDB on Android, as Futon is quite uncomfortable on a small mobile device.
I wanted to stick to the "org.apache.http.client.*" packages for this which was working out quite well until I wanted to setup administrators..
With the commandline tool "curl" it works like a charm:
curl -X PUT http://127.0.0.1:5984/_config/admins/username -d '"password"'
But I keep on having big problems translating that to a "org.apache.http.client.methods.HttpPut()" method.
Any help appreciated.