postmanlabs / postmanlabs/postman-code-generators
cURL is missing methods
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 381
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When using Desktop and Web App Code Generator (cURL), the output is missing the GET method.
To Reproduce
Steps to reproduce the behavior:
Use either the Postman Desktop or Web App and test any endpoint, and click the Code Generator.
You will notice the GET method is not displayed, you can click the (copy) button and it still doesn't appear when pasting to a text editor. Other methods work though, as you can see in the Loom recording below.
Screenshots
https://www.loom.com/share/90dfe59c63b14099966ad42e90050175
Postman for Mac
Version 10.14.2
UI Version 10.14.2-ui-230513-0653
Desktop Platform Version 10.14.2
Architecture arm64
OS Platform OS X 22.5.0
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 reproducing the issue in the Postman Desktop or Web App Code Generator with a GET endpoint, then trace the cURL generator entry point in this repository. Compare the generated output with other HTTP methods and verify that GET appears both in copied and displayed code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100