...
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
The examples below are for educational 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 succesful, but the response body may contain detailed error messages.
...
URL | |
---|---|
SERVER URL | https://staging-dataupload.wmda.info |
URI | /api/v2/io/ION0999/ Notes
|
METHOD | PUT |
Full URL path example | For donor for organization with ION-1234, the full path is as below: https://staging-dataupload.wmda.info/api/v2/io/ION1234/ION-1234-D.gpg |
HEADER | only Authorization is required, the other ones are optional |
Authorization | basic |
Content-Type | application/x-www-form-urlencoded |
X-Rename-If-Exists | true |
...