parent
eb01ce63ef
commit
31c06ea9b7
@ -1,16 +0,0 @@
|
||||
<?php
|
||||
require_once "include.php";
|
||||
require_once "WS_Util.php";
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'GET' && isset($_GET['query'])) {
|
||||
|
||||
$response = callWebService(BASE_URL,"book/getbooksbytitle","GET",array(
|
||||
"title" => $_GET['query'],
|
||||
"index" => 0,
|
||||
"count" => 5
|
||||
));
|
||||
|
||||
echo $response;
|
||||
} else {
|
||||
echo "<p>Aucune requête valide.</p>";
|
||||
}
|
Loading…
Reference in new issue