|
-
Jul 26th, 2007, 08:28 AM
#1
Thread Starter
Addicted Member
send post request to a webpage
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.
-
Jul 26th, 2007, 09:01 AM
#2
New Member
Re: send post request to a webpage
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
-
Jul 26th, 2007, 09:06 AM
#3
Thread Starter
Addicted Member
Re: send post request to a webpage
basically, what u r doing is opening the webbrowser to send GET request
that's not what I want...
-
Jul 26th, 2007, 11:07 AM
#4
Re: send post request to a webpage
 Originally Posted by winterslam
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.
The speed issue is probably connection related and out of your hands.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|