ProxymanApp / ProxymanApp/Proxyman
[BUG] Invalid CLI from "Copy as cURL"
Open
@NghiaTranUIT is already working on this.
Since Apr 25, 2021.
✅ Done
bug
- Dominant language
- No language data
- Stars
- 7k
- Forks
- 237
- PR merge metrics
- No merged PRs in 30d
Description
Description
If the request is a GET request and has an empty body. Proxyman might construct the invalid cURL. GET Method is not allowed with the Body.
curl 'https://httpbin.org/get?sort=data%2Bdesc' \
-H 'X-Proxyman-Scripting: Handled by Script: Name=Untitled. Rule=https://httpbin.org/get?sort=data%2Bdesc' \
-H 'Content-Length: 0' \
-H 'Accept: */*' \
-H 'Host: httpbin.org' \
-H 'User-Agent: insomnia/2021.2.2' \
--proxy http://localhost:9090 \
-d ''
Contributor guide
No contributing guide indexed for this repository
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.
Assessment
This issue has not been assessed yet.