Hi All,
I need help with a problem that presented the other day after having the code working perfectly for a while. I'm not sure if anyone modified some settings in the server but now I cannot find anything wrong nor in the code nor in the server settings.
I have a listener for PayPal IPN that at one point has to make a POST as it follows:
Public Sub MakeHttpPost()
Dim req As HttpWebRequest = DirectCast(WebRequest.Create(Me.PostUrl), HttpWebRequest)
req.Method = "POST"
req.ContentLength = Me.RequestLength.Length + 21
req.ContentType = "application/x-www-form-urlencoded"
Dim param As Byte() = HttpContext.Current.Request.BinaryRead(HttpContext.Current.Request.ContentLength)
...
Go to the complete details ...