aboutsummaryrefslogtreecommitdiff
path: root/load-rdf.scm
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-05-29 11:25:10 +0300
committerBonfaceKilz2023-05-30 11:51:30 +0300
commit319ba985efd3c43952040826a4e868396991c1aa (patch)
tree15239e8c46e9a43045554e258882a845f2e17657 /load-rdf.scm
parenta25674dc0d87911db69e4a1b9732967779b9a928 (diff)
downloadgn-transform-databases-319ba985efd3c43952040826a4e868396991c1aa.tar.gz
Replace PUT with a POST when uploading data in virtuoso
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'load-rdf.scm')
-rwxr-xr-xload-rdf.scm6
1 files changed, 3 insertions, 3 deletions
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)