> On Oct 30, 2014, at 7:10 AM, CouchbaseLover <[email protected]> wrote:
> 
> 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
>  <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)

Setting the replicator's authenticator only tells the replicator how to 
authenticate. If you're making your own request using NSURLConnection, you'll 
need to handle authentication yourself as described in the NSURLConnection 
delegate documentation.

> 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
>  
> <http://developer.couchbase.com/mobile/develop/references/couchbase-lite/rest-api/document/get---db---doc---attachment-/index.html#example>

Well, it's different because it's an error, not a success.

—Jens

-- 
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/B6202A31-016F-43AB-BFCF-721CF3EDA469%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to