"Unexpected character" error when invoking Neo4j rest endpoint with curl -


i facing problem when invoking cypher query on local running neo4j 3.0 via curl windows command line:

curl -h accept:application/json -h content-type:application/json -d '{"statements":[{"statement":"match (a:t_application) return a.id, a.name"}]}'  http://localhost:7474/db/data/transaction/commit 

the response got on windows command line is:

{"results":[],"errors":[{"code":"neo.clienterror.request.invalidformat","message ":"unable deserialize request: unexpected character (''' (code 39)): expected  valid value (number, string, array, object, 'true', 'false' or 'null')\n @ [ source: httpinputoverhttp@23482f11; line: 1, column: 2]"}]} 

maybe missed character somewhere or need escape something. hope can me on this. best markus


Comments

Popular posts from this blog

Combining PHP Registration and Login into one class with multiple functions in one PHP file -

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -