From 82fe4ce6f38bbdc374bf58d3c16374523e7f0cdc Mon Sep 17 00:00:00 2001 From: Gowtham M Date: Fri, 13 Feb 2026 09:18:52 +0530 Subject: [PATCH] GWM : vidal file upload issue --- app/Controllers/VidalApiController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Controllers/VidalApiController.php b/app/Controllers/VidalApiController.php index eac51552..c5274eff 100644 --- a/app/Controllers/VidalApiController.php +++ b/app/Controllers/VidalApiController.php @@ -77,7 +77,8 @@ class VidalApiController extends BaseController curl_setopt($ch2, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch2, CURLOPT_HTTPHEADER, [ "x-ms-blob-type: BlockBlob", - "Content-Length: $fileSize" + "Content-Length: $fileSize" , + "Content-Type: multipart/form-data" ]); $uploadResponse = curl_exec($ch2);