@ 2025-03-13T12:43:29Z <?php
$address = 'https://demo45-pl.yourtechnicaldomain.com/customer-api/?gate=Authenticate/authenticate/7/json';
$request = array();
$request['authenticate'] = array();
$request['authenticate']['systemKey'] = sha1(date('Ymd') . sha1('YOUR_KEY'));
$request['authenticate']['systemLogin'] = "systemLogin";
$request_json = json_encode($request);
$headers = array(
'Accept: application/json',
'Content-Type: application/json;charset=UTF-8'
);
$curl = curl_init($address);
curl_setopt($curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_FORBID_REUSE, 1);
curl_setopt($curl, CURLINFO_HEADER_OUT, 1);
curl_setopt($curl, CURLOPT_HEADER, 1);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_POSTFIELDS, $request_json);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
$response = curl_exec($curl);
$status = curl_getinfo($curl);
curl_close($curl);
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.1.32 , 8.2.0 - 8.2.28 , 8.3.0 - 8.3.19 , 8.4.1 - 8.4.5 Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/RLcAq:16
Stack trace:
#0 {main}
thrown in /in/RLcAq on line 16
Process exited with code 255 . preferences:dark mode live preview ace vim emacs key bindings
52.6 ms | 406 KiB | 5 Q