Skip to content

Commit f949d85

Browse files
authored
Fix formatting of JSON Server query examples
1 parent 4f21cce commit f949d85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ Run `json-server --help` for a list of options
125125
JSON Server supports advanced querying out of the box:
126126

127127
```http
128-
GET /posts?views:gt=100 # Filter by condition
129-
GET /posts?_sort=-views # Sort by field (descending)
128+
GET /posts?views:gt=100 # Filter by condition
129+
GET /posts?_sort=-views # Sort by field (descending)
130130
GET /posts?_page=1&_per_page=10 # Pagination
131131
GET /posts?_embed=comments # Include relations
132132
GET /posts?_where={"or":[...]} # Complex queries

0 commit comments

Comments
 (0)