Update README.md

This commit is contained in:
xnacly 2020-12-30 23:14:04 +01:00 committed by GitHub
parent 4ad77092d0
commit 738d78ca5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ cdn for discord clone
## Endpoints:
### /external
### `/external`
#### POST
```
Content-Type: application/json
@ -23,5 +23,17 @@ Content-Type: application/json
"ogType": string // "website"
}
```
### /external/:id/:filename
### `/external/<id>/<filename>`
#### GET
```
url-params:
:id // aHR0cHM6Ly9kaXNjb3JkLmNvbQ==
:filename // discord.png
/external/aHR0cHM6Ly9kaXNjb3JkLmNvbQ==/discord.png
```
##### Returns:
```
Content-Type: image/<imageType(png,img,gif)>
Image
```