Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Prefer --data-binary to -d for cURL arguments when setting request body to the contents of a file

...

Example:  

Code Block
curl -X POST -d-data-binary "@backup.txt" "http://localhost:8080/rest/fcr:restore"
 
Body:
/tmp/fcrepo4-data/path/to/backup/directory

...