I'm doing some testing with the Islandora Rest API and in working through the great documentation (
https://github.com/discoverygarden/islandora_rest) the only thing I found lacking were some actual curl examples for novice users. I'm attaching a few below, but I also have a question. I've authenticated, tested a few GET requests, and created a new object. From there I can modify the DC datastream just fine. Now I'd like to create (and modify) a RELS-EXT datastream for this object. I'm running into trouble with that part. Could someone send a sample curl request for posting/modifying a new RELS-EXT datastream?
Sample commands:
## Authenticate to Rest API ##
curl --cookie-jar ./cookies.txt -X POST -H "Content-Type: multipart/form-data" -F "name=youradminuser" -F "pass=youradminpass" -F "form_id=user_login" -F "op=Log in" "
http://yourislandora.site.org/user/login"
## Describe an Object ##
## Create A New Object ##
## Delete An Object ##