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

When I use _gte and _lte the query doesn't respond with the correct data. If I use them separately, they works, but if I apply something like "carList?price_gte=1000&price_lte=5000" it doesnt...

I have seen in the 1.0.0-alpha version the `--delay` option is missing, and the current suggestion is using the browser network throtling feature: > Notable differences with v0.17 ... use...

I want to mock a missing endpoint for my project. I set it up so every request that is sent, has an `Authorization` header. But because of that same header,...

Hi there I have just db.json and when I start `json-server --watch db.json ` it has `cors` problems is there any way to fix this issue? I want to allow...

## it doesn't work on xxx.js or remote url,though xxx.json is ok ## does anyone have the same problem as mine? ### my Node.js:v18.19.0 this is a .js file in...

The `_expand` query param would work with a `belongsTo` relationship but not with `hasMany` relationship. For this **db.json**: ```json { "posts": [{ "id": 1, "title": "My post title", "userId": 2,...

[ { "ip": "51.75.232.71", "port": 3021, "x2": false, "name": "Foxting", "online": 67, "maxonline": 1000 } ]

It's giving me this ;Syntax Error: unexpected token '||='