Skip to content

Wrong N1QL URL #79

@suminb

Description

@suminb

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:

 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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions