⚠Due to planned maintenance you will experience short (<30 min) downtime between 08:00 - 08:30 CET.
...
Run curl call as below to get the ion(s) you have access. You may get one or multiple ions based on your access permission.
"-i" option can be used to check the detail of the communication if something go wrong.
Code Block | ||
---|---|---|
| ||
curl -i GET 'https://sandbox-datamanager-api.wmda.info/api/v1/ions/list' \ --header 'Authorization: Bearer ••••••' \ --header 'Content-Type: application/json' |
...
Code Block | ||
---|---|---|
| ||
curl -i POST 'https://sandbox-datamanager-api.wmda.info/api/v1/files/upload' \
--header 'Authorization: Bearer ••••••' \
--header 'Content-Type: multipart/form-data'
--form 'file=@c:/path/to/file/ION-0999-D.gpg' \
--form 'ion="9999"' \
--form 'folder="upload"' |
...