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

Hi, i have a difficulty to use filter. Basically i have mocked-backend.js that the codes look like this: `"use strict"; const MOCK_DB_NAME = "mocked-db.json"; const PORT = 3001; let jsonServer...

PATCH request (partial update) works great in case of update specific item. `PATCH /${resource}/${id}` – works, 200 OK. But when I try to update multiple items at once, i.e. `PATCH...

Hi, I just tried creating one of these fake API's but I'm facing an `Internal Server Error` I can't figure out. Could you tell me what's wrong with it? https://my-json-server.typicode.com/mig82/iron-bank-of-braavos...

I used JSON-Server's _expand function and Google told me that it returned an HTTP status code of 500

Hello, I have a feature suggestion. In version 0, there is --read-only flag which leads that the server allows only GET requests. Can I add this feature for version 1....

Works in the browser without issue. curl doesn't find it though.

I'm trying to add a middleware using CLI as follows: `json-server --watch data.json --middlewares api.js ` But it doesn't work and this error appears: `TypeError [ERR_PARSE_ARGS_UNKNOWN_OPTION]: Unknown option '--middlewares'. To...

Hi I was working with this amazing package and suddenly it came to my mind: Can we have default Auth routes? like `/auth/login` `/auth/register` If it is possible, let me...