summary refs log tree commit diff
diff options
context:
space:
mode:
authorxnacly <matteogropp@gmail.com>2020-12-30 23:14:04 +0100
committerGitHub <noreply@github.com>2020-12-30 23:14:04 +0100
commit738d78ca5a5d21f6dbbc7e7ebe72ccd883d388c0 (patch)
tree9fba3a7f7b53c08f3f4757efb77e090db2d1182c
parentUpdate README.md (diff)
downloadserver-738d78ca5a5d21f6dbbc7e7ebe72ccd883d388c0.tar.xz
Update README.md
-rw-r--r--README.md16
1 files changed, 14 insertions, 2 deletions
diff --git a/README.md b/README.md

index 3439a95d..ede9cb5c 100644 --- a/README.md +++ b/README.md
@@ -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 +```