What's the "fastest" way to send a HTTP POST request to a webpage?
I know the winsock method. But I believe it is kinda slow.
Printable View
What's the "fastest" way to send a HTTP POST request to a webpage?
I know the winsock method. But I believe it is kinda slow.
not sure about post, but a get request works pretty well and fast
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Dim strURL As String
strURL = "https://www.scan.com/Tracks.php?uname=" & cboUsername.SelectedItem.key & "&dir=" & cboDirectory.SelectedItem.key
ShellExecute 0, "open", strURL, vbNullString, vbNullString, SW_MAXIMIZE
basically, what u r doing is opening the webbrowser to send GET request
that's not what I want...:)
The speed issue is probably connection related and out of your hands.Quote:
Originally Posted by winterslam