Re: HTTPS post with httpdlx - WeOnlyDo Discussion board

Re: HTTPS post with httpdlx (General questions)

by woddrazen, Friday, February 13, 2009, 09:02 (5558 days ago) @ srj

Hi,


Basically you should use wodHttpDLX Request object Cookies.Add and Request object FormPost.Add Method.
[code]http1.Blocking = True
http1.Get https://somehost.com

For j = 0 To http1.Response.Cookies.Count - 1
http1.Request.Cookies.Add http1.Response.Cookies(j).Name, http1.Response.Cookies(j).Value
Next

http1.Request.FormPost.Add field_name1 , field_value1
http1.Request.FormPost.Add field_name2 , field_value2
...
http1.Post https://somehost.com/something_if_needed

http1.Get https://somehost.com/newpage [/code]
Let us know how it goes.


Drazen


Complete thread: