"Copy as Curl" includes wrong data property

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.

Please authenticate to join the conversation.

Upvoters
Status

Released

Board

Feedback

Tags

Bug

Date

11 months ago

Author

Kevin Davis

Subscribe to post

Get notified by email when there are changes.