Forum Discussion

AnthRamDF's avatar
4 years ago

MS Access VBA MSXML2.ServerXMLHTTP Response Unreadable

Hi,   I have the API working in PHP, but I now need to add functionality to an Access Database. I have spent the last day searching and have found no solution, I am hoping someone here is able to ...
  • AnthRamDF's avatar
    AnthRamDF
    4 years ago

    For anyone who may have this issue in the future, after more searching I have found a solution.

     

    In VBA the ResponseText is giving the compressed information.

     

    When I remove the line:

    .setRequestHeader "Accept-Encoding", "gzip, deflate"

     

    The response is then displayed correctly.