Airflow path
This commit is contained in:
@@ -5,6 +5,9 @@ use CodeIgniter\Router\RouteCollection;
|
||||
/**
|
||||
* @var RouteCollection $routes
|
||||
*/
|
||||
|
||||
$routes->get('/flow/v1/new-account', 'AirFlow::flowNewAccount');
|
||||
|
||||
$routes->get('/', 'Home::index');
|
||||
|
||||
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user