Commit 4f4ad906 authored by Blaise de Carné 's avatar Blaise de Carné

fix doc

parent 4d709c92
Pipeline #49270 passed with stage
in 14 seconds
......@@ -27,7 +27,7 @@ $payload = isset($requestData['query']) ? $requestData['query'] : null;
require __DIR__ . '/vendor/autoload.php';
$processor = \Datatourisme\Api\DatatourismeApi::create('http://localhost:9999/blazegraph/namespace/kb/sparql');
$response = $processor->process($payload)->getResponseData();
$response = $processor->process($payload);
header('Content-Type: application/json');
echo json_encode($response);
exit;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment