当我使用 chrome 扩展 Postman 测试“17.11.1。获取或创建唯一节点(创建)”时 ,我遇到了一些异常:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 415 Unsupported Media Type</title>
</head>
<body>
<h2>HTTP ERROR 415</h2>
<p>Problem accessing /db/data/index/node/people. Reason:
<pre> Unsupported Media Type</pre>
</p>
<hr />
<i>
<small>Powered by Jetty://</small>
</i>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
</body>
我的测试参数:
http://127.0.0.1:7474/db/data/index/node/people?uniqueness=get_or_create
json数据
{
"key" : "name",
"value" : "Tobias",
"properties" : {
"name" : "Tobias",
"sequence" : 1
}
}