false, 'message' => 'Invalid data received']); exit; } $ch = curl_init($ZARKLY_URL); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data)); curl_setopt($ch, CURLOPT_HTTPHEADER, [ 'Content-Type: application/json', 'X-API-Key: ' . $API_KEY, 'X-API-Secret: ' . $API_SECRET ]); $response = curl_exec($ch); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); http_response_code($httpCode); echo $response; exit; } ?>
Submit your details and we'll reach out shortly.