From 319ba985efd3c43952040826a4e868396991c1aa Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Mon, 29 May 2023 11:25:10 +0300 Subject: Replace PUT with a POST when uploading data in virtuoso Signed-off-by: Munyoki Kilyungi --- load-rdf.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'load-rdf.scm') diff --git a/load-rdf.scm b/load-rdf.scm index dc0459d..6719bd5 100755 --- a/load-rdf.scm +++ b/load-rdf.scm @@ -120,9 +120,9 @@ PROC." (define* (put-graph sparql-endpoint username password rdf-file graph #:optional retry?) "Load RDF-FILE into GRAPH at SPARQL-ENDPOINT, a SPARQL 1.1 Graph Store HTTP Protocol endpoint, authenticating with USERNAME and -PASSWORD. The PUT method is used, and therefore, any existing data in -the graph is deleted." - (let ((response (http-upload-file 'PUT +PASSWORD. Note that when the PUT method is used, any existing data in +the graph is deleted. Therefore, a POST method is used." + (let ((response (http-upload-file 'POST (build-uri (uri-scheme sparql-endpoint) #:host (uri-host sparql-endpoint) #:port (uri-port sparql-endpoint) -- cgit v1.2.3