"Copy as Curl" includes wrong data property
Bug
When I use “Copy as Curl” (which is currently duplicated for me, per
https://feedback.yaak.app/p/the-right-click-copy-as-curl-option-is-duplicated), there is a data parameter that isn’t there on my actual GET request.
I noticed that if I create a POST request with a body, then change it to a GET and set body to “No Body”, and copy as curl, it includes the body in the curl request. When I switch to JSON the same body is still there. It seems fine to me (helpful, even) that the original body is kept, but if the request is currently not showing it (“No Body”) then it shouldn’t be included when copying as Curl.
Windows2025.5.5
I might argue that changing the method to GET should set it to No Body by default, but maybe there are situations I’m not thinking of, and that isn’t strictly the same issue.
https://yaak.app/blog/2025.5.6