...
This document describes the data upload mechanism via the REST API method, where users can upload a PGP encrypted XML file.
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
The examples below are for educationall purposes: Please do read https://ec.haxx.se/usingcurl-netrc.html on the use of passwords and usernames if you plan to automate these procedures.
|
Using the REST API
To test the API you may use a tool like Restlet, a plugin for Chrome browsers to test API calls before you deploy. The server responds with a HTTP code 200 in when succesfull, but may the response body may contain detailed error messages.
...
For those registries that are permitted to use the full dataset the statement below will fetch that. Please change the ION workspace to match your ION.
Code Block |
---|
curl -iO -X GET -H "Authorization:Basic c..............=" 'https://dataupload.wmda.info/api/v2/io/downloads/ION1804/bmdw4data.zip.gpg' -o 'bmdw4data.zip.gpg' |