Skip to content

Commit 97f755a

Browse files
authored
Update README.md
1 parent d4559b1 commit 97f755a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

vue-5-dynamic-data/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11

22
## Intro
33

4-
From the video [Vue Tutorial #5 - AJAX data and Lifecycle Methods](https://youtu.be/inJDWcHmsss) you could notice there is REST service:
4+
From the video [Vue Tutorial #5 - AJAX data and Lifecycle Methods](https://youtu.be/inJDWcHmsss) notice there is REST service:
55

66
`http://rest.learncode.academy/api/vue-5/friends`
77

8-
Infact "vue-5" is only user name. The common link is:
8+
"vue-5" is the user name, "friends" is the collection name. The first time you try to access this collection, it gets created.
9+
So the syntax is:
910

10-
`http://rest.learncode.academy/api/{username}/friends`
11+
`http://rest.learncode.academy/api/{username}/{collection name}`
1112

1213
## Check if data exists
1314

@@ -31,4 +32,4 @@ Open console and run commands:
3132

3233
Then visit [http://rest.learncode.academy/api/someuser/friends](http://rest.learncode.academy/api/someuser/friends) and ensure the data has been added.
3334

34-
NOTE! Use `http://rest.learncode.academy/api/someuser/friends` in you main.js
35+
NOTE! Use `http://rest.learncode.academy/api/someuser/friends` in your main.js

0 commit comments

Comments
 (0)