Closed splattater closed 1 year ago
curl --request POST \
--url http://localhost:8642/sparql \
--header 'Accept: application/json' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'update=INSERT DATA { <http://aksw.org/NormanRadtke> a <http://xmlns.com/foaf/0.1/Person> . }'
If you change 'update' to 'query' it will work, but it shouldn't according to SPARQL protocol.
Ah the virtuoso convenience compatibility causing issues. Good to know that it works with 'query='. Hopefully the needed fix is minor.
Running a SPARQL endpoint with the following setting
rpt integrate --server any_rdf.ttl
I get an exception after executing a POST request with a valid SPARQL Update using https://www.w3.org/TR/sparql11-protocol/#update-via-post-urlencoded
It seems, that a 'query' parameter was added somewhere after my request (using the 'update' parameter) came in.