diff options
author | Munyoki Kilyungi | 2023-05-29 11:25:10 +0300 |
---|---|---|
committer | BonfaceKilz | 2023-05-30 11:51:30 +0300 |
commit | 319ba985efd3c43952040826a4e868396991c1aa (patch) | |
tree | 15239e8c46e9a43045554e258882a845f2e17657 | |
parent | a25674dc0d87911db69e4a1b9732967779b9a928 (diff) | |
download | gn-transform-databases-319ba985efd3c43952040826a4e868396991c1aa.tar.gz |
Replace PUT with a POST when uploading data in virtuoso
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-x | load-rdf.scm | 6 |
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) |