You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
369 B
16 lines
369 B
<?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>";
|
|
} |