Re: Sending back an http 200 response
On 3/14/06, Denzil Kruse <denzilphp@xxxxxxxxx> wrote:
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
Maybe. But why not use the tools that are alreay out there?
http://search.cpan.org/search?query=paypal&mode=all.
HTH,
-- jay
--------------------------------------------------
This email and attachment(s): [ ] blogable; [ x ] ask first; [ ]
private and confidential
daggerquill [at] gmail [dot] com
http://www.tuaw.com http://www.dpguru.com http://www.engatiki.org
values of β will give rise to dom!
Relevant Pages
- Re: IIS Config Help - This is a hard one - Migration from Linux to Win2K
... Migrate Apache Settings and Configure IIS in a UNIX-to-Windows ... > I am migrating a website from a Linux server to a Win2k server. ... > to a CGI script. ... > pop-up the binary data in a new browser page. ... (microsoft.public.inetserver.iis.security) - Re: Ho can I get output of a command in web page?
... Do I need to write a cgi script for this, or can a simple SSI be made to work? ... I did think of an automated procedure which was less inclined to error, which was a startup script that wrote the warning about being on the wrong server if it was not the main server. ... I was initially dismissing that as too much work, ... I've not tried the bit to write the data based on the hostname, but the following puts the hostname into an environment variable and prints it. ... (uk.net.web.authoring) - Re: Concern for storage of payment gateway key
... > another server, the passphrase to decrypt the file, and the login access to ... I think your confusion is due to an error in what the CGI script requires. ... The authentication server needs read access to the file ... (comp.security.unix) - Re: CGIHTTPServer threading problems
... print "XBOX Server started on port %s. ... The browser that requests on the cgi script tends ... I checked multi-threaded cgi ... (comp.lang.python) - Re: Fork / Disconnect question
... My variables are sent via an html forum to a cgi script. ... i need to have the multiple processes initiate within the cgi script ... >> Once the spawn process to the server is complete, ... >> I would like to know if i can use fork and disconnect to start the ... (comp.lang.tcl) |
|