Hi Rupert, Alessandro.
Is it possible that we still do not have CRUD access on the contenthub?
When doing a DELETE on
<stanbol>/contenthub/contenthub/store/<itemID>,
I'm getting
Access-Control-Allow-Methods: GET, POST, OPTIONS
as response to the preflight request (so DELETE would be missing then).
The same problem for
<stanbol>/contenthub/ldpath/program/<indexID>.
When trying to create an index by sending a FormData object
(form-multipart) to contenthub/ldpath/program, my request gets stuck. I
can't even get through with curl:
curl -i -X POST -F 'name=melaniesIndex' -F "program='@prefix rdf :
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>; @prefix rdfs :
<http://www.w3.org/2000/01/rdf-schema#>; @prefix db-ont :
<http://dbpedia.org/ontology/>; title = rdfs:label :: xsd:string;
dbpediatype = rdf:type :: xsd:anyURI; population =
db-ont:populationTotal :: xsd:int;'"
http://<stanbol>/contenthub/ldpath/program
I get Unsupported Media Type error. I guess there's some issue with the
@ symbols in the program (normally they are used to reference files),
but escaping them was of no use.
And one more minor thing:
For
curl -i -X DELETE <stanbol>/contenthub/ldpath/program/melaniesIndex
I get
HTTP/1.1 200 OK
Content-Length: 0
Server: Jetty(6.1.x)
even if the index does not exist any more (i.e., if it has been deleted
before).
g
melanie