semiotproject / wot-semdesc-helper

Semi-automatic generation of semantic description for sensing devices
0 stars 1 forks source link

Switch to 'application/turtle' #23

Closed soylent-grin closed 8 years ago

soylent-grin commented 8 years ago

Now we generate and work with RDF in Turtle format - not JSON-LD. API should be corrected by this issue.

soylent-grin commented 8 years ago

BTW, on the /#/model/new/ page you can fill form fields and test your API - on save, a POST request to /api/model/(note slash on the end) with ttl body is sent, so you may need also to change API path.

garayzuev commented 8 years ago

@soylent-grin, did you mean `text/turtle'?

soylent-grin commented 8 years ago

Yep. Did you check query from UI - new class is creating?

garayzuev commented 8 years ago

Nope, you should change content-type from application/turtle to text/turtle at frontend

soylent-grin commented 8 years ago

done