smocker-dev / smocker

Smocker is a simple and efficient HTTP mock server and proxy
https://smocker.dev
MIT License
1.16k stars 61 forks source link

"Copy as curl" copies extra/unwanted quotes #309

Open petski opened 1 month ago

petski commented 1 month ago

If you use "Copy as curl" on a request and the request has data in application/x-www-form-urlencoded, your clipboard will contain a curl command ending with something like --data '"username=admin&password=admin"'. As you can see, the data is encapsulated in extra/unwanted quotes.