postmanlabs / postmanlabs/postman-code-generators

Enhance CURL Code generation options

Open
#731 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1k
Forks
381
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the repository's CURL code-generation entry point and inspect how generated command options are assembled. Verify the existing output and determine how options for disabling SSL verification and returning the HTTP status code should be represented; done means both settings can be selected and appear correctly in generated CURL code.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.