I tried to access CURL external API and tried this query
select curl (“http://localhost:8080/” );
and output as
“msg”: “Error evaluating projection. - cause: URL end point isn’t whitelisted http://localhost:8080/. Please make sure to whitelist the URL on the UI.”
in given document https://developer.couchbase.com/documentation/server/5.5/n1ql/n1ql-language-reference/curl.html to create curl_whitelist.json then I created following file in below path
/opt/couchbase/var/lib/couchbase/n1qlcerts/curl_whitelist.json ( note n1qlcerts folder not present I created manually )
and added following json
restarted couch base server and checked but still it not work ?