Sub a()
Dim objHTTP As Object
Dim LoginAPI As String
Dim CléAPI As String
'Set objHTTP = CreateObject("WinHttp.WinHttpRequest.5.1")
Set objHTTP = CreateObject("MSXML2.ServerXMLHTTP.6.0")
LoginAPI = "moi@domain.com"
CléAPI = "123abc"
With objHTTP
.setRequestHeader "Authorization", "api-login: " & LoginAPI, "api-key: " & CléAPI, "cache-control: no-cache"
End With
End Sub