Skip to content

Add support for "-G" curl option #3187

Open
@raderio

Description

@raderio

In Stripe APIs the filtering can be done by sending parameters with "-G" curl option, as example https://stripe.com/docs/api/accounts/list#list_accounts-created

curl https://api.stripe.com/v1/accounts?limit=3 \
   -u sk_test_BQokikJOvBiI2HlWgH4olfQ2: \
   -d created[lte]=1517443200 \
   -G 

When used, this option will make all data specified with -d, --data, --data-binary or --data-urlencode to be used in an HTTP GET request instead of the POST request that otherwise would be used. The data will be appended to the URL with a '?' separator.
From https://curl.haxx.se/docs/manpage.html

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions