[GH-ISSUE #869] [BUG] Invalid CLI from "Copy as cURL" #864

Open
opened 2026-03-03 19:22:32 +03:00 by kerem · 1 comment
Owner

Originally created by @NghiaTranUIT on GitHub (Apr 25, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/869

Originally assigned to: @NghiaTranUIT on GitHub.

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 ''
Originally created by @NghiaTranUIT on GitHub (Apr 25, 2021). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/869 Originally assigned to: @NghiaTranUIT on GitHub. ### 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 '' ```
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 25, 2021):

Done: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.24.0_Fix_cURL.dmg

<!-- gh-comment-id:826319025 --> @NghiaTranUIT commented on GitHub (Apr 25, 2021): Done: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.24.0_Fix_cURL.dmg
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#864
No description provided.