Update README.md
This commit is contained in:
parent
4ad77092d0
commit
738d78ca5a
16
README.md
16
README.md
@ -3,7 +3,7 @@ cdn for discord clone
|
|||||||
|
|
||||||
## Endpoints:
|
## Endpoints:
|
||||||
|
|
||||||
### /external
|
### `/external`
|
||||||
#### POST
|
#### POST
|
||||||
```
|
```
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
@ -23,5 +23,17 @@ Content-Type: application/json
|
|||||||
"ogType": string // "website"
|
"ogType": string // "website"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
### /external/:id/:filename
|
### `/external/<id>/<filename>`
|
||||||
#### GET
|
#### GET
|
||||||
|
```
|
||||||
|
url-params:
|
||||||
|
:id // aHR0cHM6Ly9kaXNjb3JkLmNvbQ==
|
||||||
|
:filename // discord.png
|
||||||
|
|
||||||
|
/external/aHR0cHM6Ly9kaXNjb3JkLmNvbQ==/discord.png
|
||||||
|
```
|
||||||
|
##### Returns:
|
||||||
|
```
|
||||||
|
Content-Type: image/<imageType(png,img,gif)>
|
||||||
|
Image
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user