3
制作的Graphsearch API下列API调用:Azure的学术搜索API:GraphSearch
POST https://westus.api.cognitive.microsoft.com/academic/v1.0/graph/search?mode=json HTTP/1.1
Content-Type: application/json
Host: westus.api.cognitive.microsoft.com
Ocp-Apim-Subscription-Key: ••••••••••••••••••••••••••••••••
{
"path": "/paper/AuthorIDs/author",
"paper": {
"type": "Paper",
"NormalizedTitle": "graph engine",
"select": [
"OriginalTitle"
]
},
"author": {
"return": {
"type": "Author",
"Name": "bin shao"
}
}
}
返回500内部服务器错误:
Pragma: no-cache
apim-request-id: ab90bbda-b1e7-4f55-b939-770ef086579b
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
x-content-type-options: nosniff
Cache-Control: no-cache
Date: Tue, 06 Jun 2017 16:31:17 GMT
X-Powered-By: ASP.NET
Content-Length: 108
Content-Type: application/json; charset=utf-8
Expires: -1
{
"Error": {
"Message": "Something went wrong, if the error continue please contact us",
"Code": "InternalError"
}
}
我只是使用Open API测试控制台测试API。
奇怪,我得到同样的错误。 –
仅供参考我在这里发布的问题:https://cognitive.uservoice.com/forums/555931-academic-knowledge/suggestions/19516336-the-examples-in-the-docs-give-500-internal-server –
谢谢@ MariaInesParnisari – Paul