Upload
1 min
Link Enterprise provides an endpoint to upload files to. This is strictly for uploading files, and if you require metadata to be transferred following up with an update endpoint call is required.
Upload
Upload a file using HTTP multi part form data. HTTP headers specifying repository, location and the content system named must be specified.
POST
https://localhost:82/scrud/upload
POST /scrud/upload HTTP/1.1
Cookie: vertx-web.session=135e85c919328477ec243e270a692c4d
User-Agent: insomnia/2023.5.8
Cmsname: SPRKO365DEMO
Location: /documentLibraryName
Accept: */*
Repository: domainName/sites/rootsiteName
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: multipart/form-data; boundary=---011000010111000001101001
Host: localhost:82
Content-Length: 172
-----011000010111000001101001
Content-Disposition: form-data; name=""; filename="POSPaper COD-04.pdf"
Content-Type: application/pdf
-----011000010111000001101001-