Skip to content
This repository was archived by the owner on Nov 1, 2019. It is now read-only.

Commit 752f6b0

Browse files
committed
udpate: md
1 parent 5be6f49 commit 752f6b0

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ const data = {
3030
}
3131
```
3232

33+
|name|API|
34+
|--|--|
35+
|GET|getUrlData()|
36+
|DELETE|deleteUrlData()|
37+
|POST|postUrlData()|
38+
|PUT|putUrlData()|
39+
|Download|downloadUrl()|
40+
41+
3342
### GET
3443

3544
```js
@@ -88,6 +97,16 @@ api.putUrlData('user/info', data, (res, isErr) => {
8897
}, true)
8998
```
9099

100+
### Download
101+
102+
```js
103+
/**
104+
* GET Download
105+
* @param {String} url download url
106+
*/
107+
api.downloadUrl(url)
108+
```
109+
91110
## Licence
92111

93112
MIT

0 commit comments

Comments
 (0)