httpsocket cant get website

Hi :slight_smile:

i’ve got a problem here:

Dim url as String = ""
Dim source as string
Dim h as new HTTPSocket
msgbox source

So the msgbox shows me not the real source of the site, instead i got this

Anybody know why is this happening? :frowning:

Looks strange. It says it’s moved to the same URL…
Try the HTTPSecureSocket

Oh yes its https so securesocket should be used :slight_smile:

It changed a bit…hmm something with cookies ?

solved it with

h.SetRequestHeader("User-Agent:", "curl/7.21.0 (i686-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/ libidn/1.18")