The problem is most likely that you're forgetting to set some parameter or cookie, or are setting it to something the Web server doesn't expect. Figuring out exactly what is likely to be time-consuming and tedious; essentially you're doing some minor reverse-engineering on their Web site, and that's always time-consuming.

One trick that might help is using a packet sniffer to see exactly what a working Web browser is sending and receiving, then looking to see how what you're sending differs from that. Maybe change your script to just send the same as the Web browser does, and when it works start changing one part at a time until you see what breaks.

Good luck!


In reply to Re: HTTP::Request Problem by sgifford
in thread HTTP::Request Problem by ttcuberat

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.