From c07c893902afb743c03f0a149714493b1c31967c Mon Sep 17 00:00:00 2001 From: Bjverde Date: Sat, 30 Jul 2022 14:08:27 -0300 Subject: [PATCH] :hammer: #270 nova classe --- .../api/api_controllers/TGenericAPI.class.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 appexemplo_v2.0/api/api_controllers/TGenericAPI.class.php 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