postmanlabs / postmanlabs/postman-code-generators
curl: Suggested to add options for post raw
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 381
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
The server I use is installed with a relatively low curl version, which does not support --data-raw. If I want to manually execute the command, I need to change --data-raw to --data, which is very inconvenient
Describe the solution you'd like
Is it possible to add an option to allow users to choose --data-raw or --data in the generated curl command
Additional context
Add any other context or screenshots about the feature request here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the JavaScript curl code generator and the logic that emits --data-raw. Trace how generator options are passed through, then define completion as allowing the generated command to use either --data-raw or --data while preserving existing output by default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100