When we generate the curl command we currently only use the short flags. It would be nice to let the user choose if they want the short form or the long form.
Something like:
req |> to_curl(flags: :long)
"curl --request GET example.com"
# by default it uses the short flags
req |> to_curl()
"curl -X GET example.com"
# would be the same as
req |> to_curl(flags: :short)
"curl -X GET example.com"
When we generate the curl command we currently only use the short flags. It would be nice to let the user choose if they want the short form or the long form.
Something like: