Authorizing User in couchbase sync gateway

Hi,

you should get something like this in return “session_id”:“b638a363165e56aec1c9482e369faef63d1644f0”,“expires”:“2012-02-05T03:52:14.821962137-08:00”,“cookie_name”:“SyncGatewaySession”

1 session id is a must.

  1. use this String url = “http://localhost:4985/sync_gateway/_user/”;
    please remove guest

  2. Also name and password needs to be send as post data. i dont think you are sending these.

Thanks hope this helps
Arjun