Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: changed the PUT command to add an echo as the --data conentents seem to act strangely on ubuntu

...

Once Fedora is running,  run the following curl command

Code Block
echo "@prefix awesome: <http://example.com/awesome/> . <> awesome:stuff 'waffle' ." | curl -i -u fedoraAdmin:fedoraAdmin -X PUT  http://localhost:8080/rest/test  -X PUT -H "Content-Type: text/turtle" --data-binary "@ prefix awesome:  <http://example.com/awesome/> .
<> awesome:test \"blah\".-"


When you retrieve this resource,

...