Questions tagged [msxml2.xmlhttp]

3 questions
0
votes
0 answers

Send binary file using MSXML2.XMLHTTP to PHP without base64 encoding

I am trying to figure out how to to send a binary file using multipart/form-data but without encoding it using base64 in order to save some size. POST request is manually constructed and fed to MSXML2.XMLHTTP as a string like below: // Content-Type:…
Greko2009
  • 443
  • 1
  • 5
  • 11
0
votes
0 answers

Microsoft.XMLHTTP request works in Excel VBA but not in Visual Studio Code

The following code works fine in an Excel VBA module Sub test() Dim restReq, url, apiKey url = "https://some.server.com/?param1=123" apiKey = "123342545" Set restReq = CreateObject("Microsoft.XMLHTTP") restReq.Open "GET",…
Prefect73
  • 321
  • 3
  • 14
0
votes
1 answer

Calling HTTP API endpoint in Azure Managed SQL

I am in the process of integrating SendGrid APIs with Azure Managed SQL and I am facing the below issue. I am required to send an email via the SendMail() API and get the response back to SQL Server. Since I am using SQL Managed instance, I cannot…