postman-code-generators
postman-code-generators copied to clipboard
curl: Include option -i (--include)
Is your feature request related to a problem? Please describe.
Some APIs return important information in the headers, such as request ID. When I use the curl codegen I find myself constantly adding -i/--include option manually.
Describe the solution you'd like
Add an option Include headers to settings for curl. It would add option -i/--include to the curl command generated. It would be similar to the current options Use Silent Mode and Follow redirects which add -s/--silent and -L/--location respectively.