cli icon indicating copy to clipboard operation
cli copied to clipboard

Can't send long string from cli

Open d0niek opened this issue 4 months ago • 0 comments

Checklist

  • [x] I've searched for similar issues.
  • [x] I'm using the latest version of HTTPie.

Minimal reproduction code and steps

  1. Run http --print=B POST api.url.com field_name="Foo Bar"

Current result

usage:
    http [METHOD] URL [REQUEST_ITEM ...]

error:
    argument REQUEST_ITEM: 'Bar' is not a valid value

for more information:
    run 'http --help' or visit https://httpie.io/docs/cli

Expected result

{
    "field_name": "Foo Bar"
}

d0niek avatar Sep 29 '25 11:09 d0niek