From f949d853421793638eb05a0ac307fd52ecbaa087 Mon Sep 17 00:00:00 2001 From: typicode Date: Wed, 18 Feb 2026 23:44:01 +0100 Subject: [PATCH] Fix formatting of JSON Server query examples --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 835383592..f5fd955be 100644 --- a/README.md +++ b/README.md @@ -125,8 +125,8 @@ Run `json-server --help` for a list of options JSON Server supports advanced querying out of the box: ```http -GET /posts?views:gt=100 # Filter by condition -GET /posts?_sort=-views # Sort by field (descending) +GET /posts?views:gt=100 # Filter by condition +GET /posts?_sort=-views # Sort by field (descending) GET /posts?_page=1&_per_page=10 # Pagination GET /posts?_embed=comments # Include relations GET /posts?_where={"or":[...]} # Complex queries