Dear Members,
I try to use jQuery.getJSON() or jQuery.get() in order to get spatial view from my couchbase database but It does not work.
URL used in get() function :
http://localhost:8092/project/_design/myviews/_view/testview
I get this message in firebug bt no json response:
Cache-Control must-revalidate
Content-Type application/json
Date Thu, 06 Mar 2014 22:12:14 GMT
Server MochiWeb/1.0 (Any of you quaids got a smint?)
Transfer-Encoding chunked
Requête
Accept application/json, text/javascript, /; q=0.01
Accept-Encoding gzip, deflate
Accept-Language fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Host localhost:8092
Origin http://localhost
Referer http://localhost/project/client-html5/
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
In PHP $result = $this->db->view(‘myviews’,‘testview’); works but I can’t get spatial view with that function.
Please, help me.
Thanks a lot.