post request response

Posts: 34
Joined: 08/19/2007

Hi I am fine tuning a payment gateway and would like to view the post data. In other word display the request response info - like a trace or print to screen command that shows you the array or variables or complete map of the post request & response

Posts: 203
Joined: 09/06/2007

print_r($variable with data);

Posts: 5269
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

To make it a little easier to read, I also like enclosing it in pre tags, like so:

<?php
  drupal_set_message
('<pre>'. print_r($variable, TRUE) .'</pre>');
?>