* POST routes * ******************/ Flight::route('POST *', function () { //Every POST request goes trought a check of the api key Controller::check_api_key_post(); return true; }); Flight::route('POST /user/create/liker', function () { //User creation // Création de compte Liker / Investisseur / Startup Controller::user_create_liker(); }); Flight::route('POST /user/create/investisseur', function () { //User creation // Création de compte Liker / Investisseur / Startup Controller::user_create_investor(); }); Flight::route('POST /user/create/startup', function () { //User creation // Création de compte Liker / Investisseur / Startup Controller::user_create_startup(); }); Flight::route('POST /user/complete/liker', function () { //User completion // Complétion de compte Liker / Investisseur / Startup si le profil a été généré sur le site web Controller::user_complete_liker(); }); Flight::route('POST /user/complete/investisseur', function () { //User completion // Complétion de compte Liker / Investisseur / Startup si le profil a été généré sur le site web Controller::user_complete_investor();