paste url path with query params to replace existing query params
Improvement
in insomnia, paw and other clients, I can have a request with a path e.g. /something where I define query params in the structured input form the client offers, then I can copy from somewhere else (usually logs) a new path e.g. /something?foo=bar&bar=baz, and when I paste it to the client, it would replace the data in the query params form with the contents of what I just pasted, leaving the path again as /something
Good call. I want to put more "magic" like this into the app, and this is a great example of that.
This is now implemented, so will be included in the next release https://github.com/yaakapp/app/pull/89
looking forward to trying it out 🙂 huge thanks
No problem! Thanks for the suggestion
https://yaak.app/blog/2024.9.0
Duplicate params get dropped in 2024.9.1
To replicate: Paste in
http://fake.com?array[]=item1&array[]=item2. The expected behavior is that two params are added, both with the namearray[]and the valuesitem1anditem2. Instead, only one param is added, with the valueitem2.I just noticed this today, and fixed in https://yaak.app/blog/2024.10.0-beta.6