Comments (2)
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.
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)
- See incoming request log
- Add lint for this project HOT 3
- Featuring mockit in Docusaurus HOT 5
- Use HTTP for git clone instead of SSH HOT 2
- Add random generated data from schema HOT 2
- Add mockit images to Docker registry
- Client tests do not run HOT 2
- export and import feature HOT 7
- Enabling grouped routes causes React errors HOT 2
- better install script HOT 1
- missed dependency HOT 3
- Add .editorconfig file for project HOT 1
- Linting warnings are shown in console HOT 1
- improper headers format in mockit-routes/configuration/routes.json HOT 1
- Please Add POST request which accept request body and then post it.. HOT 1
- Save changes does not do anything HOT 5
- POST doesn't close the connection when 204 response used HOT 6
- SSL & corporate network HOT 1
- Wildcard Path doesn't affected by Delay feature HOT 2
- All Functions not working when hosted on a server HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mockit.