Open suminb opened 7 years ago
It appears the N1QLQuery sends requests to http://${host}:8091/query?q=${N1QL query} (as a GET request). However, the request should be as follows:
N1QLQuery
http://${host}:8091/query?q=${N1QL query}
GET
POST http://${host}:8091/_p/query/query/service HTTP/1.1 Content-Type: application/x-www-form-urlencoded; charset=UTF-8 Accept: application/json, text/plain, */*' statement=${N1QL query}
It appears the
N1QLQuery
sends requests tohttp://${host}:8091/query?q=${N1QL query}
(as aGET
request). However, the request should be as follows: