Schema.org fails to deliver application/ld+json

Viewed 191

In my java app I get the following error

Caused by: java.lang.RuntimeException: java.lang.RuntimeException:   
com.github.jsonldjava.core.JsonLdError: loading remote context failed: http://schema.org/

With curl I currently get something like

curl -i -L -k --compressed -H "Accept: application/ld+json" https://schema.org/
HTTP/2 200 
access-control-allow-credentials: true
access-control-allow-headers: Accept
access-control-allow-methods: GET
access-control-allow-origin: *
access-control-expose-headers: Link
link: </docs/jsonldcontext.jsonld>; rel="alternate"; type="application/ld+json"
....
/**   Body contains HTML payload **/
1 Answers
Related