Answers for "vba https request"

VBA
1

vba http get

'VBA function to send HTTP GET to a server:

Function httpGet$(url$)
    With CreateObject("WinHttp.WinHttpRequest.5.1")
        .Open "GET", url, False
        .Send
        httpGet = .ResponseText
    End With
End Function

'-------------------------------------------------------------------------------------------

'Example usage:
response = httpGet(url)
Posted by: Guest on April-17-2020

Code answers related to "VBA"

Browse Popular Code Answers by Language