From 34961e6817bb3b71498faef1b890e0991fcc94c4 Mon Sep 17 00:00:00 2001 From: typicode Date: Sun, 7 Jan 2024 02:30:03 +0100 Subject: [PATCH] docs: update json-server installation command --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bbb2c76f7..afc2e3936 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ## Install ```shell -npm install json-server@alpha +npm install json-server ``` ## Usage @@ -53,8 +53,7 @@ Run `json-server --help` for a list of options | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | | | | | -| | - +| | [Become a sponsor and have your company logo here](https://github.com/users/typicode/sponsorship) @@ -67,6 +66,8 @@ POST /posts PUT /posts/:id PATCH /posts/:id DELETE /posts/:id + +# Same for comments ``` ``` @@ -126,7 +127,7 @@ GET /posts?_sort=id,-views ``` GET /posts?author.name=foo GET /posts?author.email=foo -GET /posts?names[0]=foo +GET /posts?tags[0]=foo ``` ### Embed