title: How can I call Cypher queries via Neo4j REST API using Ext.Ajax.request?
body: <p>I'm having problems when making a request to the Neo4j REST API using a cypher query from Extjs' function Ext.Ajax.request, here's my code:</p>
  
  <pre><code>values.query="MATCH (x { username: {username}, password: {password} }) RETURN x";
  
  Ext.Ajax.request({
      url: "http://localhost:7474/db/data/cypher",
      params: values,
      success: successCallback,
      failure: failureCallback
  });
  </code></pre>
  
  <p>I'm getting the next response from de server</p>
  
  <pre><code>responseText: "{↵  "message" : "The statement has been closed.",↵  "exception" : "BadInputException"...
  </code></pre>