59 lines
1.1 KiB
PHP
59 lines
1.1 KiB
PHP
<?php
|
|
|
|
// GET - Request
|
|
|
|
// BEMERKUNG: <session_id> und <passphrase> brauchen in der Testphase nicht gesetzt zu sein
|
|
|
|
|
|
$cs_id = "308391";
|
|
|
|
|
|
$req = "
|
|
<xml>
|
|
<customer>
|
|
<auth>
|
|
<session_id>7415zfnd05fehrz3d347319d0rt94975f415ehr</session_id>
|
|
<passphrase>28d910834a78200828s83g</passphrase>
|
|
</auth>
|
|
<operation>GET</operation>
|
|
<debug_on>YES</debug_on>
|
|
|
|
<cs_id>" . $cs_id . "</cs_id>
|
|
|
|
</customer>
|
|
</xml>";
|
|
|
|
/*
|
|
NOT NEEDED !!!!
|
|
<cs_reports_data_since_last_login>1500,0,203586</cs_reports_data_since_last_login>
|
|
<cs_reports_num_since_last_login>1500,0,203586</cs_reports_num_since_last_login>
|
|
|
|
<cs_appointments_data_since_last_login>1500,0,203586</cs_appointments_data_since_last_login>
|
|
<cs_appointments_num_since_last_login>1500,0,203586</cs_appointments_num_since_last_login>
|
|
*/
|
|
|
|
$reqEncoded = urlencode($req);
|
|
?>
|
|
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<form name="test" action="https://apache-3.assecutor.de/test_php7_sb/service/customer_request.php" method="post">
|
|
|
|
<input type="hidden" name="customerReq" value="<?php echo $reqEncoded ?>">
|
|
|
|
<input type="submit" value="Senden POST">
|
|
|
|
|
|
</form>
|
|
|
|
</body>
|
|
|
|
</html>
|