Skip to content

Commit 879cd46

Browse files
committed
Update README.md
1 parent f5301af commit 879cd46

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ $ json-server db.json
3030
Now if you go to [http://localhost:3000/posts/1](), you'll get
3131

3232
```javascript
33-
{
34-
"id": 1,
35-
"body": "foo"
36-
}
33+
{ "id": 1, "title": "json-server", "author": "typicode" }
3734
```
3835

3936
Also, if you make POST, PUT, PATCH or DELETE requests, changes will be saved to `db.json`

0 commit comments

Comments
 (0)