Skip to content

Misleading error message when appending queries #414

Description

@tpoliaw

I am using trurl to append fields to a query to avoid url encoding them.

From the reading the man page, not paying enough attention and misinterpreting Long options can be provided either as --flag argument or as --flag=argument and -a, --append [component]=[data], I ran

trurl --url http://localhost:8000 --append query foo=bar

and got the error

trurl error: --append unsupported component: query

While the examples in the docs do use query=key=value, it threw me when it said query wasn't supported. Could the error be something like component query missing data or similar?

Thanks, and thanks for trurl in general, really helpful tool.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions