Copyright (C) 2016 Yahoo Japan Corporation. All Rights Reserved.
//
$app->get('/', function($request, $response) {
// StatusCode
$response = $response->withStatus(404);
// JSON
$response = $response->withHeader(
'Content-Type',
'application/json;charset=utf-8'
);
return $response;
});