⚠Due to planned maintenance you will experience short (<30 min) downtime between 08:00 - 08:30 CET.
...
Code Block | ||
---|---|---|
| ||
curl 'https://sandbox-datamanager-api.wmda.info/api/v1/files/upload' \ --header 'Authorization: Bearer ••••••' \ --header 'Content-Type: multipart/form-data' \ --form 'file=@/path/to/file/ION-0999-D.gpg' \ --form 'ion="9999"' \ --form 'folder="upload"' |
Something to be aware of for windows based cmd:
- please use double quote instead single quote for the request.
- Line break "\" dose not work, so use the curl script in one line, or use specific break that works for your script.
- Use "\" to escape the double quote for the value.
- The path separator for the file dose not matter, both Linux used "/" and windows used "\" works.
Code Block | ||
---|---|---|
| ||
curl "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\"" |
Download
Download reports
You may use the API to fetch your reports . And 2 steps are needed.
...