I get an error with this code, so I need to see what is returned by the response, but beacuse of the error I cannot figure out how to see the response returned.
How can I see what is in st of this line? st = reader.ReadToEnd()
Try
'Setup an HttpWebRequest to send the data
Dim address As New Uri(sUri)
Dim request As HttpWebRequest = TryCast(WebRequest.Create(address), HttpWebRequest)
request.Credentials = New NetworkCredential((sAPIKey & "%" & ctu), ctp)
request.Method = "POST"
request.ContentType = "application/atom+xml"
'Build an encoded string of the data to pass to Constant Contact
Dim data As New StringBuilder()
data.Append("<entry xmlns=""http://www.w3.org/2005/Atom"">")
data.Append("<id>data:,</id>")
data.Append("<title />")
...
Go to the complete details ...