micha / resty

Little command line REST client that you can use in pipelines (bash or zsh).
MIT License
2.65k stars 143 forks source link

Get the raw cURL command #60

Closed jmakeig closed 8 years ago

jmakeig commented 8 years ago

I use resty mostly in development. When I figure out what my request is, however, I need to get the raw cURL command for use in a script that will run in another environment where resty is not available. Is there way to output the entire cURL command that's being executed under the covers? If not, that would be a helpful feature.