在我的Windows命令行中通过curl在本地运行的Neo4j 3.0上调用cypher查询时遇到问题:
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
我在Windows命令行上得到的回复是:
{"results":[],"errors":[{"code":"Neo.ClientError.Request.InvalidFormat","message ":"Unable to deserialize request: Unexpected character (''' (code 39)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\n at [ Source: HttpInputOverHTTP@23482f11; line: 1, column: 2]"}]}
也许我错过了某个角色或者需要逃避某些事情。希望有人可以帮助我。 最好 马库斯