-
Right now, headers in mock server are added using JSON. This might create problems as headers can't be nested json.
### Checklist
- [ ] Add/Update Headers using +- button similar to headers rule
…
-
### Environment
Node v18.15.0
NPM v8.19.2
Consola v3.1.0
### Reproduction
1. Clone https://github.com/gbenson-ir/consola-v3-bug-reproduction
2. Enter the directory
3. Run `npm i`
4. Run `npm r…
-
**Describe the bug**
The SNYK vulnerability scan picked up some packages with exploits.
**To Reproduce**
Run vulnerability scan for the dependencies
**Expected behavior**
Dependency packages …
-
Hi everyone,
How can I achieve to get json response according to uri parameter value? If p is equal to Y, I want to get first json body. But there is no p field in json body. If p is equal to X, I w…
-
# json-server
https://github.com/typicode/json-server
https://github.com/xgqfrms-GitHub/json-server
```json
{
"name": "test-db",
"version": "1.0.0",
"description": "json-ser…
-
* Use json-server to provide mock data
-
Hi,
I am running elastalert-server by using this commands
cd ~/elastalert-server
vi config/config.json
npm install
npm run start
it is running fine but after creating rules in praeco server …
-
Version 4.21.0 and older now pulls in types for 5.0.0 that are incompatible.
```
"node_modules/@types/express": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.o…
-
I believe [apistudio.io](http://apistudio.io/) can generate a mock server for a REST API when given that API's Swagger spec (thanks to @dibyom for telling me about this).
If we can get that working,…
hawkw updated
9 years ago
-
Hi everyone,
Is there a way to also return a file of type "application/pdf" / Blob type from a path using json-server?
We have our mocked data under folder /issues/1.js so that it returns the mo…