jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1346967 - /jena/trunk/jena-fuseki/command line actions
Date Wed, 06 Jun 2012 16:21:59 GMT
Author: andy
Date: Wed Jun  6 16:21:58 2012
New Revision: 1346967

URL: http://svn.apache.org/viewvc?rev=1346967&view=rev
Log:
Record curl usage.

Added:
    jena/trunk/jena-fuseki/command line actions

Added: jena/trunk/jena-fuseki/command line actions
URL: http://svn.apache.org/viewvc/jena/trunk/jena-fuseki/command%20line%20actions?rev=1346967&view=auto
==============================================================================
--- jena/trunk/jena-fuseki/command line actions (added)
+++ jena/trunk/jena-fuseki/command line actions Wed Jun  6 16:21:58 2012
@@ -0,0 +1,14 @@
+## Query
+
+# Send using application/sparql-query
+curl  --data-binary 'ASK{}' -v -X POST --header 'Content-type: application/sparql-query'
  http://localhost:3030/ds/query 
+
+# send using HTML form:
+curl -d  'query=ASK{}' http://localhost:3030/ds/query 
+
+## Update
+
+curl --data-binary @U.ru -X POST --header 'Content-type: application/sparql-update'   http://localhost:3030/ds/update
+
+
+curl -d 'request=INSERT DATA {}'   http://localhost:3030/ds/update
\ No newline at end of file



Mime
View raw message