Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jupitergao18 committed Jul 4, 2023
1 parent 6dbac48 commit 423019c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Install JServer

```
cargo build --release
cp target/release/jserver /usr/bin/
```

Create a `data.json` file with some data
Expand All @@ -39,7 +40,7 @@ jserver
Now if you go to [http://localhost:2901/api/posts/1](http://localhost:2901/api/posts/1), you'll get

```json
{ "id": 1, "title": "json-server", "author": "typicode" }
{ "id": 1, "title": "jserver", "author": "jupiter.gao" }
```

Also when doing requests, it's good to know that:
Expand Down

0 comments on commit 423019c

Please sign in to comment.