codefinger
Programmer
From the VB article that's guiding me:
>>
HttpSendRequest returns a value not equal to zero if it fails, so code like this is all it takes to send data to a CGI form handler. Call the API, passing your data and the length of the string containing the data. This
code uses the m_cPostBuffer variable to handle it:
If HttpSendRequest(hURL, "", 0, _
m_cPostBuffer, Len(m_cPostBuffer)) _
Then
'// it worked!
End If
<<
I am getting a zero return value from HttpSendRequest every time, but when I try to use InterNetReadFile
to check the response, I find nothing in the buffer. (Also, the site shows a history of transactions, and the transaction I attempted to post from VB is not there.) Earlier, I had some flags set wrong for secure sites, so even though it was not the response I wanted, I WAS getting a response from InterNetReadFile. Now that I've set
the security flags on, nothing.
This has had me stumped for weeks. Any input would be greatly appreciated.
Thanks in advance.
>>
HttpSendRequest returns a value not equal to zero if it fails, so code like this is all it takes to send data to a CGI form handler. Call the API, passing your data and the length of the string containing the data. This
code uses the m_cPostBuffer variable to handle it:
If HttpSendRequest(hURL, "", 0, _
m_cPostBuffer, Len(m_cPostBuffer)) _
Then
'// it worked!
End If
<<
I am getting a zero return value from HttpSendRequest every time, but when I try to use InterNetReadFile
to check the response, I find nothing in the buffer. (Also, the site shows a history of transactions, and the transaction I attempted to post from VB is not there.) Earlier, I had some flags set wrong for secure sites, so even though it was not the response I wanted, I WAS getting a response from InterNetReadFile. Now that I've set
the security flags on, nothing.
This has had me stumped for weeks. Any input would be greatly appreciated.
Thanks in advance.