I have trouble to upload text file using PowerShell Invoke-RestMethod. Getting info from the API is working fine, but upload is fail:
This is working: