Coucbase.init returns url like this:
http://f08e71ac-1065-483c-b18a-4f13e14b1933:19c3571c-4492-4417-a335-844d4e87bad8@localhost:5987
Could those long user:pass@ provided in the url be used to query CBL REST listener?
I tried fetch with
headers: {
'Authorization': 'Basic '+ base64.encode('user:pass')
}
but it gets 401 response.
Is there anything specific to consider within CBL REST endpoint authorization?