Skip to content

Commit 067aab5

Browse files
committed
Update API
1 parent fc21650 commit 067aab5

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Diff for: README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ homePage
22
========
33

44
Example API 推薦ng網站
5+
```
56
get /example 取得example清單
67
get /example/:id 取得指定ID之example
78
put /example 建立example
@@ -11,14 +12,23 @@ put post data
1112
{
1213
title: ng網站標題
1314
url: ng網站URL
14-
tag: []
15+
tag: [ng-view, ng-router...]
1516
}
17+
```
1618

1719
Document API 推薦ng好文
20+
```
1821
get /document 取得document清單
1922
get /document/:id 取得指定ID之document
2023
put /document 建立document
2124
post /document/:id 更新指定document
2225
26+
put post data
27+
{
28+
title: ng好文標題
29+
url: ng好文URL
30+
tag: [ng-view, ng-router...]
31+
}
32+
```
2333

2434

0 commit comments

Comments
 (0)