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
+ }}}
+ 

Reply via email to