neo4j cypher json提供http 500服务器错误 我需要在NeN4J中创建几个节点,因为我在C++程序中使用JSON和CURL。

neo4j cypher json提供http 500服务器错误 我需要在NeN4J中创建几个节点,因为我在C++程序中使用JSON和CURL。,json,curl,neo4j,Json,Curl,Neo4j,这是我得到的请求和响应 About to connect() to localhost port 7474 (#0) Trying ::1... Connection refused Trying 127.0.0.1... Connected to localhost (127.0.0.1) port 7474 (#0) POST /db/data/cypher HTTP/1.1 Host: localhost:7474 Accept: */* Content-Type: applicatio

这是我得到的请求和响应

About to connect() to localhost port 7474 (#0)
Trying ::1...
Connection refused
Trying 127.0.0.1...
Connected to localhost (127.0.0.1) port 7474 (#0)
 POST /db/data/cypher HTTP/1.1
Host: localhost:7474
Accept: */*
Content-Type: application/json
Content-Length: 4294967295
Expect: 100-continue

HTTP/1.1 100 Continue
{
   "params" : {
      "props" : {
         "LocalAsNumber" : 0,
         "NodeDescription" : "10TiMOS-B-4.0.R2 ",
         "NodeId" : "10.227.28.95",
         "NodeName" : "BLR_WAO_SARF7"
      }
   },
   "query" : "CREATE (n:Router { props }) RETRUN n"
}


HTTP/1.1 500 Server Error
Content-Type: text/html; charset=ISO-8859-1
Cache-Control: must-revalidate,no-cache,no-store
Content-Length: 0
Server: Jetty(9.0.5.v20130815)
HTTP error before end of send, stop sending
正在关闭连接0

我总是收到这个“500服务器错误”。查询有问题吗?

查看您的查询:

"CREATE (n:Router { props }) RETRUN n"
应返回:

"CREATE (n:Router { props }) RETURN n"