Skip to content

Can't send long string from cli #1665

@d0niek

Description

@d0niek

Checklist

  • I've searched for similar issues.
  • 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"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnewNeeds triage. Comments are welcome!

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions