diff --git a/README.md b/README.md index ec28d6d5..491db0c0 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,7 @@ cdn for discord clone ## Endpoints: -### `/attachments/` -#### POST +### POST `/attachments/` ``` Content-Type: form-data @@ -18,8 +17,7 @@ attachment: File "filename": string // "lakdoiauej.png" } ``` -### `/attachments//` -#### GET +### GET `/attachments//` ``` requests image from database with given and ``` @@ -28,8 +26,7 @@ requests image from database with given and Content-Type: image/ Image ``` -### `/attachments//` -#### DELETE +### DELETE `/attachments//` ``` deletes database entry ``` @@ -46,8 +43,8 @@ Content-Type: application/json
_(endpoints for crawler):_ -### `/external` -#### POST +### POST `/external` + ``` requests crawling of `og:`metadata and the download of the `og:image` property -------- @@ -69,8 +66,7 @@ Content-Type: application/json "ogType": string // "website" } ``` -### `/external//` -#### GET +### GET `/external//` - requests cached crawled image ``` url-params: