Airflow path

This commit is contained in:
CHIEFSOFT\ameye
2024-09-03 15:44:29 -04:00
parent f272502a88
commit 5d2fc80db8
2 changed files with 21 additions and 0 deletions
+3
View File
@@ -5,6 +5,9 @@ use CodeIgniter\Router\RouteCollection;
/**
* @var RouteCollection $routes
*/
$routes->get('/flow/v1/new-account', 'AirFlow::flowNewAccount');
$routes->get('/', 'Home::index');
+18
View File
@@ -0,0 +1,18 @@
<?php
namespace App\Controllers;
class AirFlow extends BaseController
{
public function flowNewAccount(){
$raw_json = file_get_contents('php://input');
$in = json_decode($raw_json, true);
$out =[];
log_message('critical', "AirFlow::flowNewAccount ********* ALL ".serialize($in) );
return []; //json_encode( $final_out );
}
}