In vb.net i would use the following code to get website data and format as tab delimited.
Public Sub getResults(ByVal websiteURL As String)
Dim c As New WebClient
c.Headers("Accept") = "text/tab-separated-values"
c.DownloadStringAsync(New Uri(websiteURL))
AddHandler c.DownloadStringCompleted, AddressOf c_DownloadStringCompleted
End Sub
Is there a similar way to get the data back using HTTP utils in this format? I followed the httputils example and right now it appears to be retrieving data in JSON format.
Thanks in advance.
Public Sub getResults(ByVal websiteURL As String)
Dim c As New WebClient
c.Headers("Accept") = "text/tab-separated-values"
c.DownloadStringAsync(New Uri(websiteURL))
AddHandler c.DownloadStringCompleted, AddressOf c_DownloadStringCompleted
End Sub
Is there a similar way to get the data back using HTTP utils in this format? I followed the httputils example and right now it appears to be retrieving data in JSON format.
Thanks in advance.