added an example with SPARQL POST
authorHenry Story <henry.story@bblfish.net>
Fri, 01 Jun 2012 22:54:08 +0200
changeset 224 eb0d323ef2a6
parent 223 1a8afef3722c
child 225 a6bbafc980cb
added an example with SPARQL POST
README.markdown
--- a/README.markdown	Fri Jun 01 22:49:45 2012 +0200
+++ b/README.markdown	Fri Jun 01 22:54:08 2012 +0200
@@ -141,6 +141,10 @@
 
 [ the curl password is "secret" ]
 
+You can then update the foaf file with new relations with a command like
+
+    $ curl -X POST -H "Content-Type: application/sparql-query; charset=UTF-8" --data-binary "INSERT DATA { <http://bblfish.net/#hjs> <http://xmlns.com/foaf/0.1/knows> <http://fcns.eu/people/andrei/card#me> . } " -k -i -E src/test/resources/JohnDoe.pem https://localhost:8443/2012/foaf.n3
+
 ### creating your own certificate
 
 You can create your own certificate in your browser using a service such as [https://my-profile.eu/](https://my-profile.eu/) This will save your certificate in the keychain associated with the browser.