GithubHelp home page GithubHelp logo

Pre-request Script command insomnia.request.url.removeQueryParams("foo") removes all parameters but the one named "foo" about insomnia HOT 3 CLOSED

niklam avatar niklam commented on May 28, 2024
Pre-request Script command insomnia.request.url.removeQueryParams("foo") removes all parameters but the one named "foo"

from insomnia.

Comments (3)

niklam avatar niklam commented on May 28, 2024 1

@ihexxa thank you! If there's an issue for this, I must have missed it. Sorry for that!

from insomnia.

ihexxa avatar ihexxa commented on May 28, 2024

Thanks for reporting it, this issue is already detected, and the fix is in review: https://github.com/Kong/insomnia/pull/7225/files#diff-80753d0078a8b39246080d56a694cfa6f1427035599276beb5bcf77681fec7a6R286
Hopefully it will be included in the next release.

from insomnia.

niklam avatar niklam commented on May 28, 2024

@ihexxa I need to still ask if the fixes in the PR address the issue that if you've done "Import from URL" for params, the params are not seen by insomnia.request.url? So you can't remove them, and they are always being added to the final URL. If not, I'm happy to file another issue.

image

image

from insomnia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.