Does anyone know if it's possible to upload a file via POST body (multipart/form-data) using VBA? I'm currently using the Microsoft.XMLHTTP object, but I'm not tied to it if that doesn't support multipart POST.
Here's what I'm doing so far:
Set oHttp = CreateObject("Microsoft.XMLHTTP")
oHttp.Open "POST", theUrl, False
oHttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
oHttp.Send "body=thebody"