For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > March 2006 > Sending back an http 200 response









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Sending back an http 200 response
Denzil Kruse

2006-03-14, 6:55 pm

Hi all,

I'm try to interact with another server. It sends me
a post (I think) and I catch it with my cgi script.
But, it wants me to send back a 200 response with just
OK in it.

How do I do that? Do I have to use the HTTP.pm and
set up a handler? I was hoping to use CGI.pm, but I
guess that it's too late by then. If I do have to set
up a handler, what about the rest of the posts sent to
my server? I only want to handle the ones from that
other particlur server (which is pay pal by the way)

Paypal's help said this:

"PayPal's IPN system expects your web server to send
an HTTP 200 response when the IPN is sent to your IPN
script."

Thanks,
Denzil

________________________________________
__________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Denzil Kruse

2006-03-15, 9:55 pm



--- Jay Savage <daggerquill@gmail.com> wrote:


> Maybe. But why not use the tools that are alreay out
> there?
> http://search.cpan.org/search?query=paypal&mode=all.
>
> HTH,
>
> -- jay


Thanks! I didn't realize they were there!

Denzil

________________________________________
__________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com