RE: From zero to Hydra hero

On 29 Jan 2015 at 14:54, Adrian Gschwend wrote:
> I started playing with my own examples now. I start with a simple, not
> yet Hydra JSON-LD but I don't get far in the Hydra console:
> 
> http://www.markus-
> lanthaler.com/hydra/console/?url=http://ktk.netlabs.org/misc/hydra/ecs.js
> onld
> 
> for @id and @type it says "not mapped to an IRI"
> 
> This file loads just fine on JSON-LD Playground, am I missing something
> here?

Yep, the content type is set to text/plain instead of application/ld+json. This causes the JSON-LD processor to pass it through as is (but the renderer then tries to interpret it as JSON nevertheless - which should be fixed).


--
Markus Lanthaler
@markuslanthaler

Received on Thursday, 29 January 2015 22:05:39 UTC