updated downlaod api. no longer passing password in url.

K
2025-08-02 15:54:05 +05:30
parent d36ff7e966
commit 134f8ac931
+5 -3
@@ -40,9 +40,11 @@ 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 "Authorization: Bearer $JWT" \ -H "Content-Type: application/json" \
--output 15-102-98.mp4 -H "Authorization: Bearer $JWT" \
-d '{"filename": "15-102-98.mp4", "password": "Pass@123"}' \
--output 15-102-98.mp4
``` ```
--- ---