ProxymanApp / ProxymanApp/Proxyman

[BUG] Invalid CLI from "Copy as cURL"

Open
#869 1 comment 0 reactions 1 assignee View on GitHub

@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

  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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.