Git Product home page Git Product logo

Comments (2)

boyney123 avatar boyney123 commented on May 14, 2024

Hey @modernist

Got any ideas on how this would look?

For example:

Would this feature accept key, value pairs from the user on each response? and we could use res.cookie('cookieName', 'value'); something like this to send the values in the responses?

from mockit.

modernist avatar modernist commented on May 14, 2024

I guess an interface similar to the one provided in Postman / Insomnia for setting cookies on requests would be adequate. So, a list of key/value pairs per endpoint would be more than enough as a first step. Later on it would be possible to define cookies that are sent on every endpoint, but whose value can be customized per endpoint, and finally perhaps create some rules that allow the generation of random values (e.g. numbers / strings / dates)

from mockit.

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.