
VBA HTTP Request in Excel — GET and POST with XMLHTTP, and Why the Response Comes Back Stale or Garbled
An HTTP request from Excel VBA returns two things, a status code and a block of bytes, and everything else is your job. This guide compares MSXML2.XMLHTTP, ServerXMLHTTP and WinHttpRequest, explains why a GET can return yesterday's data, why a 404 never raises an error, why a synchronous call can freeze Excel, how to fix garbled accents and Japanese text with ResponseBody and ADODB.Stream, and how to send a JSON POST without breaking it on a German or French Windows.




































































































































































































