
allenmao - 2015-04-29 04:58:24
hi there,
i tried
$client->http_arguments = array('RequestMethod'=>'POST','PostFiles'=>array('userfile'=>array('FileName'=>'newjob.xml','Content-Type'=>'application/xml')));
and i get:
Content-Type: multipart/form-data; boundary=--ca8d5e98fae617786e7a489da3fc5af0
Content-Leng......
what i want is to post pure application/xml file to the server, is it possibile? thanks