[albatross-users] Automatically Send HTTP Request
Michael C. Neel
neel at mediapulse.com
Fri Dec 20 02:13:07 EST 2002
I've done stuff like this befire, using the urllib that comes with
python, and passing the resulting object to a ctx.locals. var for use in
the template. Take a look at urllib in the module docs on the python
website, I think it's what you are looking for.
Mike
> -----Original Message-----
> From: Dhruva B. Reddy [mailto:bdhruva at gmx.net]
> Sent: Thursday, December 19, 2002 12:31 AM
> To: Albatross User's List
> Subject: [albatross-users] Automatically Send HTTP Request
>
>
> Hello,
>
> I am adding the functionality to collect payments to an
> Albatross-powered website, using PayPal's Instant Payment Notification
> (IPN) service. The contract goes like this:
>
> 1. Customer is directed to PayPal to log in and authorize
> payment.
> 2. PayPal sends a POST request to the application.
> 3. The application must automatically resend that request back
> to PayPal, and process the response.
>
> It seems kludgy to me (as opposed to PayPal doing this as a true web
> service), but I don't see any way around it. Have any of you done
> something like this before?
>
> Thanks,
> Dhruva
> --
> "Advice is what we ask for when we already know the answer but wish
> we didn't." Erica Jong (b. 1942); US author
>
> _______________________________________________
> Albatross-users mailing list
> Albatross-users at object-craft.com.au
> https://www.object-craft.com.au/cgi-bin/mailman/listinfo/albat
ross-users
More information about the Albatross-users
mailing list