Bump!

I pretty much asked the same question some days ago and you responded that 
i should make an REST API request to 
server/db/attachment(
*http://xxxx:xxx/bucket/4CE32C17-43AF-4EC5-B422-551BE730AD72/AttachmentName)*
but i get the error 401.

How can i be *Unauthorized *when i solved that issue months ago and it's 
been working forever since, (pushing and pulling with continuous)

basicAuthenticatorWithName: (NSString*)name

              password: (NSString*)password;

The response i get is also different from the docs 
"http://developer.couchbase.com/mobile/develop/references/couchbase-lite/rest-api/document/get---db---doc---attachment-/index.html#example
"

* "Content-Length" = 50;*

*    "Content-Type" = "application/json";*

*    Date = "Thu, 30 Oct 2014 13:01:22 GMT";*

*    Server = "Couchbase Sync Gateway/1.00";*

*    "Www-Authenticate" = "Basic realm=\"Couchbase Sync Gateway\"";*

"
 --CouchbaseLover

-- 
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/2fb4d091-86ca-4896-a68a-a5b8757ba79c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to