Forum Discussion

Nate's avatar
Nate
Occasional Contributor
3 years ago

404 when attemting to upload or update a file using curl.exe on windows

When using c:\windows\system32\curl.exe, attempts to upload or update a file result in    curl.exe -T C:\my.apk HTTPS://cloud.bitbar.com/api/me/files/ --stderr - -u <access_key>: {"message":"Resou...
  • Nate's avatar
    3 years ago

    Support caught the issue with the syntax generated by the cURL Uploader in Azure.  It tries to use -T "my.ip", but need to do a POSt with -F "file=my.ipa".

     

    Corrected syntax: 

    c:\Windows\System32\curl.exe -F "file=@C:\my.ipa" https://cloud.bitbar.com/api/me/files --stderr - -u "<key>:"