postmanlabs / postman-code-generators

Common repository for all code generators shipped with Postman
Apache License 2.0
981 stars 348 forks source link

Enhance CURL Code generation options #731

Open JohnBMCR opened 3 months ago

JohnBMCR commented 3 months ago

Underlying Problem / Issue When the gen code option is used for CURL and I'm passing to others I have to either educate them on how to suppress SSL verify (if they don't have a CA Trust PEM) and/or add the "%{http_code}" element so that the HTTP status Code is returned .

Describe the solution you'd like The CURL code gen options to include additional settings for set SSL Verify off and Return HTTP status code.

Additional context Add any other context or screenshots about the feature request here. image