
Allen Wayne - 2015-04-28 16:18:45
let's say i wannt POST $xmlStr to $URL, 2 legged,
<?php
$success = $client->CallAPI($URL, 'POST', array(
'format'=>'text/xml','File'=>$xmlStr), array('FailOnAccessError'=>true,'2Legged'=>true), $response);
echo $response
?>
it said syntax error! please help me. thanks.