-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
This curl
curl -X POST -H "Content-Type: application/json" -H "Cache-Control: no-cache" -H "Postman-Token: cc799c16-5d39-accf-b81d-1aa4a48fb5c9" -d '[
{
"method": "POST",
"endpoint": "https://api-dev.freme-project.eu/current/e-entity/freme-ner/documents",
"parameters": {
"language": "en",
"dataset": "dbpedia",
"nif-version": "2.1"
},
"headers": {
"content-type": "text/html",
"accept": "text/turtle"
},
"body": "<p>This summer there is the Zomerbar in Antwerp, one of the most beautiful cities in Belgium.</p>"
},
{
"method": "POST",
"endpoint": "https://api-dev.freme-project.eu/current/e-terminology/tilde",
"parameters": {
"source-lang": "en",
"target-lang": "de",
"nif-version": "2.1"
},
"headers": {
"content-type": "text/turtle",
"accept": "text/html"
}
}
]
' "http://api-dev.freme-project.eu/current/pipelining/chain"
fails with error message
{
"exception": "eu.freme.common.exception.InternalServerErrorException",
"path": "/pipelining/chain",
"message": "For input string: \"//freme-project.eu/#offset_38_45\"",
"error": "Internal Server Error",
"status": 500,
"timestamp": 1475653048652
}
It works when I remove nif-version=2.1 from both API calls.
Reactions are currently unavailable