I am using PhoneGap CouchBaseLite plugin referred from this -
https://github.com/couchbaselabs/TodoLite-PhoneGap.
Any solution for CORS error?
On Monday, December 22, 2014 11:01:45 PM UTC+5:30, Ami Kapadia wrote:
>
> Hi!
>
> I am using CBL in iOS. It's working but when I use same code in Android,
> CBLite is initialised properly but
> When I send HTTP request using following code :
>
>> var xmlHttp = new XMLHttpRequest()
>> xmlHttp.open('GET', url, false)
>> xmlHttp.send(null)
>
> I am getting following error :
> "XMLHttpRequest Exception 101"
>
> And when I try to config db, I am getting this error :
> "CORS request rejected: ... : ...@localhost:5984/db_name"
>
> Any idea how I can solve this?
>
> Thanks!
> Ami
>
--
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/7cc91ebb-cdf9-4f04-82e7-e0509da206d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.