I am working on a shopping cart with several payment options using different APIs.
The flow I want is that the user chooses which payment option to use and the accor
Try this
$context = stream_context_create(array( 'http' => array( 'method' => 'POST', 'header' => "Content-type: application/x-www-form-urlencoded\r\n", 'content' => http_build_query($_POST) ), )); echo file_get_contents($url, false, $context);