Skip to content
jateeter edited this page Apr 30, 2013 · 1 revision

The following will cause an existing DownloadMyData file to be unmarshalled into the
respository and re-marshalled back to the console.

curl -H "Accept=application/atom+xml" http://localhost:9090/thirdparty/thirdpartys/1/uploadmydata?url=http://www.openespi.org/sampleData/nist/12MonthlyUpdates.xml

curl -H "Accept=application/atom+xml" http://localhost:9090/datacustodian/datacustodians/1/uploadmydata?url=http://www.openespi.org/sampleData/nist/12MonthlyUpdates.xml


The following will cause an existing DownloadMyData file (referenced by the parameter url)
to be inserted into the respective repository

curl -H "Accept=application/atom+xml" http://localhost:9090/thirdparty/thirdpartys/1/insertDownloadMyDataFile?url=http://www.openespi.org/sampleData/nist/12MonthlyUpdates.xml

curl -H "Accept=application/atom+xml" http://localhost:9090/datacustodian/datacustodians/1/insertDownloadMyDataFile?url=http://www.openespi.org/sampleData/nist/12MonthlyUpdates.xml


The following will cause the ThirdParty to send a request to the identified DataCustodian to
unmarshal a DownloadMyData file and send it back to the requesting ThirdParty as a simulated
response to a subscription.

curl -H "Accept=application/atom+xml" http://localhost:9090/thirdparty/thirdpartys/1/testdataflow url=http://www.openespi.org/sampleData/nist/12MonthlyUpdates.xml