updated downlaod api. no longer passing password in url.
+3
-1
@@ -40,8 +40,10 @@ curl -k -X POST https://localhost:8080/api/files/upload \
|
|||||||
## File download
|
## File download
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
curl -k -X GET "https://localhost:8080/api/files/download/15-102-98.mp4?password=Pass@123" \
|
curl -k -X GET "https://localhost:8080/api/files/download" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
-H "Authorization: Bearer $JWT" \
|
-H "Authorization: Bearer $JWT" \
|
||||||
|
-d '{"filename": "15-102-98.mp4", "password": "Pass@123"}' \
|
||||||
--output 15-102-98.mp4
|
--output 15-102-98.mp4
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user