I have also tried this with creating a session ID on the SG:

curl -X POST https://db.mydb.com:4985/mydb/_session -H 
"Content-Type:application/json" -d '{"name":"foo", "password":"bar"}'


Which returns: 
{"session_id":"09ff83fd94f814d100dee291ac2f5f268a9d764e","expires":"2015-10-16T13:54:48.553412097-04:00","cookie_name":"SyncGatewaySession"}


curl --cookie "SyncGatewaySession=09ff83fd94f814d100dee291ac2f5f268a9d764e" 
-X GET https://db.mydb.com:4984/mydb/7E28B6F9-0D49-4452-9E7F-8B8D5F2574E7

And I get {"error":"Forbidden","reason":"forbidden"}.

Todd

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/af1bf46b-60f9-4901-b880-e29df55a1ff9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to