Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
titleOld curl for linux
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
titleCurl for linux
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
titleCurl for windows
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"

...