Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with Http Connect/PostFormData
#2
Look in HTML, maybe <form> action attribute is not "login". Also maybe <form> has onclick attribute, then PostFormData may not work.
Look what is response page, maybe shows an error.

Macro Macro1710
Code:
Copy      Help
out
Http h.Connect("yyy.com")
h.PostAdd("username" "my username")
h.PostAdd("password" "my password")
str r
if(!h.PostFormData("login" 0 r)) end "failed"
out r ;;response page

str SourceLink; h.FileGet("view/id/1403030" SourceLink)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)