Skip to content

Commit 593941f

Browse files
committed
docs: simplify curl command
1 parent 01d4b9f commit 593941f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ $ json-server db.json
4040
Get a REST API
4141

4242
```shell
43-
$ curl -H "Accept: application/json" -X GET http://localhost:3000/posts/1
43+
$ curl http://localhost:3000/posts/1
4444
{
4545
"id": "1",
4646
"title": "a title"

0 commit comments

Comments
 (0)