json-server icon indicating copy to clipboard operation
json-server copied to clipboard

Get a full fake REST API with zero coding in less than 30 seconds (seriously)

Results 291 json-server issues
Sort by recently updated
recently updated
newest added

Is it possible to insert an array of "records" with one POST request, or each request can only insert one object. I see that it's possible to insert an array...

this is my db: ``` { "users": [], "posts": [] } ``` then I create a user: ``` POST http://localhost:3000/users { "name": "aaa" } ``` now db like this: ![image](https://user-images.githubusercontent.com/16474244/50279518-d4915800-0484-11e9-99f1-9945554ebf67.png)...

### Before ![image](https://user-images.githubusercontent.com/41575415/139300440-62822754-4c29-49d3-a848-4127665822e5.png) ### Description When there aren't any custom routes with `JsonServer.defaults()` and `CustomRoutesBlock` returns "undefined" implicitly And I changed to the default message like NoResources. ### After ![image](https://user-images.githubusercontent.com/41575415/139298785-6889691a-ca8f-4492-b864-c162be2fbe93.png)

Good day everyone Is it possible to set/overwrite the response header 'cache-control' when serving files via the `--static` flag? The middleware does not seem to apply for static files. Kind...

According to the documentation, adding '_start and _end or _limit' to the query params should return an 'X-Total-Count' header. I have tried them all, however, it is not being returned....

I'm mocking our production server which for some legacy reasons are using a PUT request rather than a POST when creating a specific new piece of data. I am intercepting...

**Summary** - Keep up to date of docker-json-server - Keep the original functionalities of dockerized json-server with much flexibility that works as CLI

I want to return true when this is insert in the db

I want to suggest an idea do let super clear in the README.MD by opening an section with title `Docker` saying at least the need open the server with `--host...

I have following in my package.json. ` "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint", "json": "json-server --watch db.json --port 5000" }, ` and when i run...