<%@taglib prefix="s" uri="/struts-tags" %> <% String base_dir = request.getContextPath(); %> Upload

This page is a HTML Response to a HTTP GET of the restful record upload service URL at . In order to submit a record to the service, you must send a HTTP-POST request to this URL with the following form fields

Item Deposited OK. Last internal doc Id is
The last successfully deposited item can be accessed here
There is no document ID available. Something has gone wrong with the document upload process.

Metadata upload form



An example of depositing an XML file using the CURL command line client is as follows (with values between < and > replaced by suitable values:
curl -k "http://localhost:8080/dpp/provider/upload" -u <username>:<password> -F "ownerid=<ownerid>" -F "owner=<owner>" -F "authoritative=<authoritative>" -F "Connection=Keep-Alive" -F "upload=@<xml filename>;type=text/xml" -v