UncleRon has asked for the wisdom of the Perl Monks concerning the following question:
I need to pass some name/value pairs to another site (actually to the Bank of Americas' settleup branded site) for credit card processing. They (BofA) requires it come at them as a POST. Now I have to create the form (no problem) and before I send them I want to make sure I get some back. The process BofA uses is to require the fields with their own names on them (fair enough). And they return any fields they don't recognize. (Again fair enough.) Now I would normally bundle up the name/value pairs and attach them to the address as a GET. BofA is refusing to recognize this simple technique.
Question, how is the POST header et.al sent? If it's a GET I would do this, which they don't like.and etc. etc. What do I do to make this a POST instead of a GET?print redirect(-url => "https://cart.bamart.com/payment.mart?ioc_merch +ant_id=$ioc_merchant_id&ioc_order_total_amount=30.00&ecom_billto_post +al_name_first=$pffname&ecom_billto_postal_name_last=$pflname");
Thanks
URjanitored by ybiC: minor format tweaks, for legibility, retitle from "something simple" for improved search results
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to send HTTP POST request?
by Happy-the-monk (Canon) on Aug 22, 2004 at 22:19 UTC | |
|
Re: How to send HTTP POST request?
by superfrink (Curate) on Aug 23, 2004 at 03:46 UTC | |
|
Re: How to send HTTP POST request?
by cLive ;-) (Prior) on Aug 23, 2004 at 00:55 UTC | |
|
Re: How to send HTTP POST request?
by bobf (Monsignor) on Aug 23, 2004 at 06:57 UTC | |
|
Re: How to send HTTP POST request?
by ccn (Vicar) on Aug 22, 2004 at 22:29 UTC | |
|
Re: How to send HTTP POST request?
by saberworks (Curate) on Aug 23, 2004 at 09:57 UTC |