Hi,I want to know that how can I modify/get docs by SG REST APIs 
with SyncGatewaySession?
I can get docs by add Authorization header with Basic certificate of some 
user(this need name and password), but I want to do the same thing by 
SyncGatewaySession(Cookies), 
because I already get the user's certificate by Authentication REST APIs.
so I try the following tests:
curl  --cookie 
"SyncGatewaySession=2823i1826e9e2ad72af0409e0703f9bf1s9317d3" --header 
Content-Type:"application/json" http://127.0.0.1/sgdb/doc1
but I got the following errors:
{"error":"Unauthorized","reason":"Login required"}

-- 
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/86f830c4-493c-4d98-879c-5f25bb47dc0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to