mirror of
https://github.com/typicode/json-server.git
synced 2025-07-28 12:43:18 +08:00
updated README
This commit is contained in:
@ -24,6 +24,9 @@ $ json-server --file db.json
|
|||||||
$ curl -i http://localhost:3000/posts/1
|
$ curl -i http://localhost:3000/posts/1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You can type 's' at any moment to save the current live JSON object to timestamped
|
||||||
|
file.
|
||||||
|
|
||||||
### Node module
|
### Node module
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
Reference in New Issue
Block a user