cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: trouble possibly due to keep-alive

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 30 Dec 2000 12:41:40 +0100 (MET)

On Tue, 26 Dec 2000, Vinay Sahni wrote:

> a WORKING url for the post is http://www.kryogen.com/pay.php?x=1
>
> i'm trying to get the effect of the "pay now" button with curl.. i tried
> the following:
>
> curl --include --user-agent "Mozilla/4.0 (compatible; MSIE 4.01; Windows
> 98)" --header "Accept-Language: en-us" -d
> "MERCHID=4B75C136AD76225DC415547500B666393476478983D48F49F5665C496&MTID=KRYO39993&AMT=1&NSUBMIT=Pay+Now"
> https://payments.cibc.nobil.com/utci.nsa
>
> where the MTID in the -d should be randomly generated, no matter what i
> try, i keep getting the same error page.. i think it has something to do
> with the keep-alive.. anybody have any ideas regarding this?

Why do you think this has anything to do with "the keep-alive" ?

For starters, have you considered that it might require the cookie that you
receive when you get that initial page?

Also, for what we know it could check the referer string and possibly also
that the MTID really was a "valid" random value and not just something you
can invent yourself.

If nothing else works, mail the admins of the site and ask!

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
Received on 2000-12-30