XmlHttpRequest et HTTPS
Bonjour,
Je cherche à lire un flux RSS via XmlHttpRequest dans un agent planifié.
Est-ce quelqu'un aurait une idée du problème et comment y rémédier ?
D'avance merci !
Le code :
Je cherche à lire un flux RSS via XmlHttpRequest dans un agent planifié.
- - Si l'url cible est en HTTP, aucun soucis, ca fonctionne bien.
- Si l'url cible est en HTTPS, XmlHttpRequest me renvoie "" avec comme status "0" et statusText "Unknown"...
Est-ce quelqu'un aurait une idée du problème et comment y rémédier ?
D'avance merci !
Le code :
- Code : Tout sélectionner
Dim responseText As String
Dim xmlhttp
On Error Resume Next
Dim objXml As Variant
Set xmlhttp = createObject("microsoft.xmlhttp")
objXml=xmlhttp.Open("GET", url, False)
xmlhttp.Send (Null)
Msgbox xmlhttp.responsetext
MsgBox CStr(xmlhttp.status)
MsgBox xmlhttp.statusText
Set xmlhttp = Nothing