Answer the question
In order to leave comments, you need to log in
What data encoding kryakozyabr?
I send a PHP request with a curl and this is how I get the PKIAP response
api3_5707.csvPKPKIAP api3_5707.csvPK;=
Online decoders did not help. There should be a name (file path)
Code:
$ch = curl_init();
$fields_string = '{"order_id":"761BEEC3-B0AE-4D6F-B5F6-B0005F01F28B"}';
$XClientSign = hash('sha256', 'ключ');
$headers = [
'Content-Type: application/json; charset=utf-8'
];
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_URL, 'адрес');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $fields_string);
$out = curl_exec($ch);
curl_close($ch);
file_put_contents('111.csv', $out);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question