...
Now we know the path is correct and we can do an upload using cURL:
This is a old way to deploy, currently it is still available in production till production maintenance before Nov, 7th, 2023. But not available any more in staging dataupload.
Code Block |
---|
|
curl -i -X PUT -H "Authorization:Basic d21.....uZT==" -T "./test.pgp" 'https://staging-dataupload.wmda.info/api/v2/io/ION0999/' |
Below are suggested:
Code Block |
---|
|
curl -i -X PUT -H "Authorization:Basic d21.....uZT==" -F "file=@/path/to/file/ION-0999-D.gpg" https://staging-dataupload.wmda.info/api/v2/io/ION0999/ -H "X-File-Name:ION-0999-D.gpg" |
Code Block |
---|
|
curl -i -X PUT -H "Authorization:Basic d21.....uZT==" -F "file=@c:/path/to/file/ION-0999-D.gpg" https://staging-dataupload.wmda.info/api/v2/io/ION0999/ -H "X-File-Name:ION-0999-D.gpg" |
In case you need a testfile you may generate one (in windows) issueing "FSUtil File CreateNew temp.pgp 0x2500000"
...