in reply to Re: Flash & Perl
in thread Flash & Perl

First of all, thanks for your answer =) Now I think I understand how i can do but I'm not so sure, I manage well Mechanize & LWP, but from what you told me I should recreate the headers of the request ... I do not know where to start, can tell me how to do or at least redirect to some source? thanks. Ps. sorry for my bad English :P

Replies are listed 'Best First'.
Re^3: Flash & Perl
by Corion (Patriarch) on Dec 26, 2009 at 20:38 UTC

    Your English is very good. The easiest way to start (I think) is to look at WWW::Mechanize, because WWW::Mechanize will already send "good" headers like a browser would. If that's not enough and you need to add other headers, WWW::Mechanize has methods for that as well, and in the emergency case, you can create your own HTTP::Headers for your HTTP::Request object that you then send through LWP or Mechanize.

    I suggest you compare the headers your Perl script sends against what the Flash sends and add/change headers until the thing works.

      Corion, thanks a lot. You were very helpful, i will follow your advice and i will do various tests. Thanks again.