Skip to content

Commit

Permalink
docs: simplify curl command
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Jan 5, 2024
1 parent 01d4b9f commit 593941f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ $ json-server db.json
Get a REST API

```shell
$ curl -H "Accept: application/json" -X GET http://localhost:3000/posts/1
$ curl http://localhost:3000/posts/1
{
"id": "1",
"title": "a title"
Expand Down

0 comments on commit 593941f

Please sign in to comment.