Skip to content

Is the post request support removed in ganda? #10

Open
@TechieGenie

Description

@TechieGenie

I'm trying to make a couple of post requests using -d flag like -d {<body goes here>}

I see that ganda errors out saying Incorrect Usage: flag provided but not defined: -d

cat << EOF > /tmp/list_of_urls_and_values
http://httpbin.org/anything/1 bar 111
http://httpbin.org/anything/2 baz 222
http://httpbin.org/anything/3 qux 333
EOF
cat /tmp/list_of_urls_and_values | ganda -X POST -d '{"first": "%s", "second": "%s"}' | grep -E 'data|url'

Example from this page - https://www.naleid.com/2018/04/04/using-http-apis-on-the-command-line-3-ganda.html

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