Created
July 11, 2016 17:57
-
-
Save pixel5/7520376520f7e1b95fd09198a8e0c1c0 to your computer and use it in GitHub Desktop.
Base function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
/** | |
* Base function for LHAC API | |
*/ | |
$app->get('/', function (Request $request, Response $response) { | |
$response->getBody()->write("Welcome to the LHAC API."); | |
return $response; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment