Skip to content

HTTPie JSON array syntax doesn’t work #80

Description

@natesilva

With HTTPie and xh, I can pass in a JSON item as an array:

xh -v httpbin.org/post tables[]=users
# or 
http -v httpbin.org/post tables[]=users

This sends a JSON object:

{
    "tables": [
        "users"
    ]
}

This syntax doesn’t work in curlie. It sends this instead:

{
    "tables[]": "users"
}

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions