Commit 111e98de authored by Kylian ou Nathan's avatar Kylian ou Nathan
Browse files

Up

parent 27422ed0
...@@ -76,6 +76,8 @@ $route['profil'] = 'Profil/list'; ...@@ -76,6 +76,8 @@ $route['profil'] = 'Profil/list';
$route['resume/show'] = 'Resume/show'; $route['resume/show'] = 'Resume/show';
$route['api/(:any)/(:any)'] = 'API/init'; $route['api/(:any)/(:any)'] = 'API/init';
$route['api/(:any)'] = 'API/init';
$route['api'] = 'API/init';
$route['404_override'] = ''; $route['404_override'] = '';
......
...@@ -9,9 +9,7 @@ class API extends CI_Controller{ ...@@ -9,9 +9,7 @@ class API extends CI_Controller{
} }
public function init() { public function init() {
echo "GET :<br>"; echo "POST :<br>";
var_dump($_GET);
echo "<br><br>POST :<br>";
var_dump($_POST); var_dump($_POST);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment