httpie / cli

🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.
https://httpie.io
BSD 3-Clause "New" or "Revised" License
33.9k stars 3.68k forks source link

http: error: ValueError: Data must not be a string. #847

Closed CyberMew closed 4 years ago

CyberMew commented 4 years ago

$ http --verbose --auth-type=veracode_hmac -f "https://analysiscenter.veracode.com/api/5.0/uploadlargefile.do" "app_id==$APP_ID" "file@build/veracode.bca" "filename==veracode.bca"

I ran the above command and I am getting this error http: error: ValueError: Data must not be a string.. Any ideas why?

CyberMew commented 4 years ago

Refer to https://github.com/jakubroztocil/httpie/issues/840