curl -H "X-ArchivesSpace-Session: $SESSION"
-d {
"jsonmodel_type": "repository",
"name": "Description: 11",
"repo_code": "ASPACE REPO 2 -- 631024",
"org_code": "970UV228G",
"image_url": "http://www.example-3.com",
"url": "http://www.example-4.com"
}
'http://localhost:8089/repositories'
(the bit after the “-d” is what we’re interested in.)