Open GordianDziwis opened 5 years ago
curl -d "@example.json" -H "Content-Type:application/json;charset=utf-8" "http://fox-demo.aksw.org/fox" -vvv
gives
* Trying 139.18.2.38... * TCP_NODELAY set * Connected to fox-demo.aksw.org (139.18.2.38) port 80 (#0) > POST /fox HTTP/1.1 > Host: fox-demo.aksw.org > User-Agent: curl/7.58.0 > Accept: */* > Content-Type:application/json;charset=utf-8 > Content-Length: 269 > * upload completely sent off: 269 out of 269 bytes < HTTP/1.1 200 OK < Date: Thu, 11 Oct 2018 16:19:25 GMT < Server: Jetty(9.3.6.v20151106) < Content-Type: application/x-turtle;charset=utf-8 < Transfer-Encoding: chunked < { "@graph" : [ { "@id" : "_:b0", "@type" : [ "foxo:NamedEntityRecognition", "prov:Activity" ], "endedAtTime" : "2018-10-11T18:19:25.590+02:00", "generated"...
Content-Type: application/x-turtle;charset=utf-8 should be something "json-ld"
Hi,
yes thanks for the hint, the response type is wrong.
gives
Content-Type: application/x-turtle;charset=utf-8 should be something "json-ld"