diff --git a/appexemplo_v2.0/api/api_controllers/TGenericAPI.class.php b/appexemplo_v2.0/api/api_controllers/TGenericAPI.class.php new file mode 100644 index 00000000..419c15e5 --- /dev/null +++ b/appexemplo_v2.0/api/api_controllers/TGenericAPI.class.php @@ -0,0 +1,19 @@ +getBody()->write( $msgJson ); + return $response->withHeader('Content-Type', 'application/json'); + } +} \ No newline at end of file