Einzelnen Beitrag anzeigen

WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#1

Form and HTTP redirection

  Alt 9. Jan 2016, 13:29
HTML:

Code:
<form method="POST" action="http://www.livejournal.com/misc/adult_explicit.bml">
<input type='hidden' name="ret" value="http://vrotmnen0gi.livejournal.com/2223166.html" />
<button type='submit' name="adult_check" value="Yes, I am at least 18 years old.">Yes, I am at least 18 years old.</button>
</form>
Delphi (library = Clever Internet Suite):

Delphi-Quellcode:
Request.AddFormField('ret', edtSource.Text);
Http.AllowRedirects := True;
Http.Post('http://www.livejournal.com/misc/adult_explicit.bml', Request, Html);
This code gives me adult_explicit.bml, but should the one from ret fiels. Could you help, please
  Mit Zitat antworten Zitat