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

标签 rest browser neo4j cypher

我如何(以编程方式)向 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/

相关文章:

java - 一个接受 JSON 对象的简单 JaxWS Rest

unit-testing - Neo4j - 单元测试 REST Api 调用

browser - 为什么浏览器会针对不受信任的 SSL 证书显示难看的错误?

javascript - 保存/镜像/抓取使用 javascript 生成内容的网页

api - 一个 Apigee Api 代理,每个环境具有不同的目标端点

Android默认浏览器不滚动网页

database - neo4j 2.1.7 : How can I index my current data which was there before

java - Spring-data-neo4j 没有索引实体 id

neo4j - 如果 NEO4J 中存在先前的关系,则更新关系属性

rest - 如何筛选标签上的 Azure 资源管理 REST 调用