Hi Team,
I am calling the api for upload pdf file in power automate desktop so
I am facing bellow error
Invoke-RestMethod : The underlying connection was closed: An unexpected error occurred on a send.
At C:\Users\sanket.shinde\AppData\Local\Temp\Robin\2hdqkcbma0i.tmp.ps1:24 char:13
+ $response = Invoke-RestMethod -Uri $apiUrl -Method Post -Headers $hea ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

Report
All responses (
Answers (