marmotta-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Marmotta Wiki] Update of "LDPImplementationReport" by SergioFernandez
Date Tue, 11 Mar 2014 10:19:10 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Marmotta Wiki" for change notification.

The "LDPImplementationReport" page has been changed by SergioFernandez:
https://wiki.apache.org/marmotta/LDPImplementationReport?action=diff&rev1=13&rev2=14

Comment:
some usage examples of MARMOTTA-449

  
  {{{mvn clean tomcat7:run -Pexperimental,kiwi,cleanall}}}
  
+ == Usage ==
+ 
+ === Add a binary resource to a collection ===
+ 
+ {{{
+ curl -i -X POST --data-binary @src/test/resources/test.png -H "Content-Type: image/png"
-H "Slug: test" http://localhost:8080/ldp/exampleContainer
+ curl -i http://localhost:8080/ldp/container1/test
+ curl -i -H "Accept: text/turtle" http://localhost:8080/ldp/container1/test.png
+ curl -i -H "Accept:  image/png" http://localhost:8080/ldp/container1/test.png
+ }}}
+ 

Mime
View raw message