I
inferno2000
Let's say if I want to send a http "Post" request to a url, and check
the http status code later. How should I write the code? I have found
example to use WinHttp to send "Get" request and check the http status
code:
======
Set objWinHttp = CreateObject("WinHttp.WinHttpRequest.5")
objWinHttp.Open "GET", strURL
objWinHttp.Send
If objWinHttp.Status <> 200 Then
...
End If
======
How should I write the code if I need to use "POST" to send data in a
form, and to check the http status code later?
the http status code later. How should I write the code? I have found
example to use WinHttp to send "Get" request and check the http status
code:
======
Set objWinHttp = CreateObject("WinHttp.WinHttpRequest.5")
objWinHttp.Open "GET", strURL
objWinHttp.Send
If objWinHttp.Status <> 200 Then
...
End If
======
How should I write the code if I need to use "POST" to send data in a
form, and to check the http status code later?