documentation update for PUT
authorHenry Story <henry.story@bblfish.net>
Wed, 27 Jun 2012 16:20:37 +0200
changeset 237 4309422da544
parent 236 d680f5d15862
child 238 023209cfc1e4
documentation update for PUT
README.markdown
--- a/README.markdown	Wed Jun 27 15:47:56 2012 +0200
+++ b/README.markdown	Wed Jun 27 16:20:37 2012 +0200
@@ -80,6 +80,8 @@
 It is possible to PUT, RDF resources too and a couple of image formats, as 
 well as to create directories etc... The test suites have some good examples of this. 
 
+   $ curl -k -X PUT -i --data-binary "<#me> a <http://xmlns.com/foaf/0.1/Person>." -H "Content-Type: text/turtle" http://localhost:8080/2012/example.n3
+
 ### to generate the eclipse configuration
 
     > eclipse same-targets
@@ -119,6 +121,7 @@
     HTTP/1.1 200 OK
     ...
 
+
 In the `test_www` directory there is a [.meta.n3.off](https://dvcs.w3.org/hg/read-write-web/file/cff4d0159b26/test_www/.meta.n3.off) file which contains the access rules as defined by the http://www.w3.org/wiki/WebAccessControl vocabulary. ( this is still a very minimal implementation of what is possible ) These say that private.n3 requires authentication. 
 For it to be enabled you need to rename .meta.n3.off to .meta.n3 . When that is done :