0
我送使用REST API暗号查询,如下所示:Neo4j的休息Cypher支架Qyery匹配节点:错误
MATCH (user:Profile)-[:HAS_SEARCHED]-(term{name:"TV"})
WITH [x in collect(user)| id(x) ] AS userIDs
MATCH(user:Profile) where id(user) in userIDs
MATCH (user)-[r:HAS_SEARCHED]->(term:SearchTerm)
return term.name
尽管查询直接在服务器上运行时执行良好,给出下面的错误在蚀:
{"results":[],"errors":[{"code":"Neo.ClientError.Request.InvalidFormat",
"message":"Unable to deserialize request:
Unexpected character ('T' (code 84)): was expecting comma to separate OBJECT entries\n at
[Source: [email protected]; line: 1, column: 85]"}]}
请帮忙!!由于
你如何使用* Cypher支架使用REST API *? –
听起来好像你发送给服务器的JSON不正确,你能用JSON验证器验证它吗? –
对不起,查询错误。编辑上面的问题语言。谢谢 –