Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong content type for request #52

Open
GordianDziwis opened this issue Oct 11, 2018 · 1 comment
Open

wrong content type for request #52

GordianDziwis opened this issue Oct 11, 2018 · 1 comment

Comments

@GordianDziwis
Copy link

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"

@renespeck
Copy link
Member

renespeck commented Oct 11, 2018

Hi,

yes thanks for the hint, the response type is wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants