curl -X POST http://localhost:8080/api/upload?uploadType=media --data-binary "@/path/to/file" -H "Authorization: Bearer <jwt_token>" -H "Content-Type: <file_mime_type>" -H "Content-Disposition: filename=<file_name>"
curl -X POST http://localhost:8080/api/upload?uploadType=multipart -H "Authorization: Bearer <jwt_token>" -H "Content-Type: multipart/form-data" -F "file=@/path/to/file"