ДЩ
Size: a a a
ДЩ
V
в свободное от работы время
- схерали?)ДЩ
ДЩ
ДЩ
ДЩ
I
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://openapi-test.kasikornbank.com/oauth/token',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => '',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Authorization: Basic ...'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
?>
ДЩ
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://openapi-test.kasikornbank.com/oauth/token',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => '',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Authorization: Basic ...'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
?>
I
AB
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://openapi-test.kasikornbank.com/oauth/token',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => '',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Authorization: Basic ...'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
?>
ДЩ
curl_setopt($ch, CURLOPT_CAINFO, bank_cert);
curl_setopt($ch, CURLOPT_SSLCERT, merchant_cert);
curl_setopt($ch, CURLOPT_SSLKEY, merchant_cert_key);
curl_setopt($ch, CURLOPT_SSLCERTPASSWD, merchant_cert_key_password);
AB
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://openapi-test.kasikornbank.com/oauth/token',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => '',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Authorization: Basic ...'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
?>
ДЩ
ДЩ
FL
FL
V