Skip to content

Commit 9eecf3b

Browse files
authored
Update README.md
1 parent 938400a commit 9eecf3b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

vue-5-dynamic-data/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ Visit [http://rest.learncode.academy/api/vue-5/friends](http://rest.learncode.ac
44

55
## Add data via curl
66

7-
Open console and perform commands:
7+
Open console and run commands:
88

9-
1. `curl -H "Content-Type:application/json" -X POST -d '{"name":"Will"}' http://rest.learncode.academy/api/vue-5/friends`
10-
2. `curl -H "Content-Type:application/json" -X POST -d '{"name":"Will"}' http://rest.learncode.academy/api/vue-5/friends`
11-
3. `curl -H "Content-Type:application/json" -X POST -d '{"name":"Will"}' http://rest.learncode.academy/api/vue-5/friends`
9+
`curl -H "Content-Type:application/json" -X POST -d '{"name":"Will"}' http://rest.learncode.academy/api/vue-5/friends`
10+
11+
`curl -H "Content-Type:application/json" -X POST -d '{"name":"John"}' http://rest.learncode.academy/api/vue-5/friends`
12+
13+
`curl -H "Content-Type:application/json" -X POST -d '{"name":"Bill"}' http://rest.learncode.academy/api/vue-5/friends`
1214

1315
Then visit [http://rest.learncode.academy/api/vue-5/friends](http://rest.learncode.academy/api/vue-5/friends) and ensure the data has been added.

0 commit comments

Comments
 (0)