Created CV Section #6
@ -23,8 +23,10 @@ $app->setBasePath("/api");
|
|||||||
|
|
||||||
$timelineData = new TimelineData();
|
$timelineData = new TimelineData();
|
||||||
|
|
||||||
$app->get(“/timelineData”, function (Request $request, Response $response)
|
$app->get("/timelineData", function (Request $request, Response $response)
|
||||||
{
|
{
|
||||||
|
global $timelineData;
|
||||||
|
|
||||||
$result = $timelineData->getTimelineData();
|
$result = $timelineData->getTimelineData();
|
||||||
|
|
||||||
$json = json_encode($result);
|
$json = json_encode($result);
|
||||||
|
Loading…
Reference in New Issue
Block a user