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=18&rev2=19 Comment: added new example of LDP-RS == Usage == - === Add a binary resource to a collection === + == Add a source resource to a container == {{{ + curl -i -X POST -d @src/test/resources/test.ttl -H "Content-Type: text/turtle" -H "Slug: test" http://localhost:8080/ldp/container1 + curl -i -H "Accept: text/turtle" http://localhost:8080/ldp/container1/test + }}} + === Add a binary resource to a container === + + {{{ - 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 -X POST --data-binary @src/test/resources/test.png -H "Content-Type: image/png" -H "Slug: test2" http://localhost:8080/ldp/container2 - curl -i http://localhost:8080/ldp/exampleContainer/test + curl -i http://localhost:8080/ldp/container2/test - curl -i -H "Accept: text/turtle" http://localhost:8080/ldp/exampleContainer/test.png + curl -i -H "Accept: text/turtle" http://localhost:8080/ldp/container2/test.png - curl -i -H "Accept: image/png" http://localhost:8080/ldp/exampleContainer/test.png + curl -i -H "Accept: image/png" http://localhost:8080/ldp/container2/test.png }}}
