0
有很多使用cUrl與Neo4j執行查詢的例子,但我無法讓它工作。 如:https://neo4j.com/blog/export-csv-from-neo4j-curl-cypher-jq/Neo4j:使用cUrl執行查詢
操作系統:Windows DB:Neo4j的comunity 3.1.1 捲曲:7.53.1
"D:\Programme\Tools\curl\curl.exe" -H "Content-Type: application/json" -d '{"statements":[{"statement":
"match (n) return count(n)"}]}' http://localhost:7474/db/data/transaction/commit
結果:
{"results":[],"errors":[{"code":"Neo.ClientError.Request.InvalidFormat","message":"Unable to deserialize request: Unexpe
cted character (''' (code 39)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\n at [
Source: [email protected]; line: 1, column: 2]"}]}