gpt4 book ai didi

rest - 我可以通过 get/post 向 neo4j 浏览器发送密码查询吗?

转载 作者:行者123 更新时间:2023-12-01 05:12:02 24 4
gpt4 key购买 nike

我如何(以编程方式)向 Neo4j 浏览器(通过 get/post)发送密码查询以显示结果图?
例如,类似:http://localhost:7474/browser/query='match n return n'

最佳答案

Yes, you can .

示例请求

POST http://localhost:7474/db/data/cypher
Accept: application/json; charset=UTF-8
Content-Type: application/json
{
"query" : "MATCH (x {name: 'I'})-[r]->(n) RETURN type(r), n.name, n.age",
"params" : {
}
}

示例响应
200: OK
Content-Type: application/json; charset=UTF-8
{
"columns" : [ "type(r)", "n.name", "n.age" ],
"data" : [ [ "know", "him", 25 ], [ "know", "you", null ] ]
}

关于rest - 我可以通过 get/post 向 neo4j 浏览器发送密码查询吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24062795/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com