Commit 4df5d83a by Nixon Solomon

test

parent 87db0119
...@@ -24,7 +24,7 @@ class Webservice extends CI_Controller { ...@@ -24,7 +24,7 @@ class Webservice extends CI_Controller {
$this->load->model('Webservice_model'); $this->load->model('Webservice_model');
$this->load->model('Validation_app_model'); $this->load->model('Validation_app_model');
$method = $this->router->fetch_method(); $method = $this->router->fetch_method();
// test
$data = (array) json_decode(file_get_contents('php://input')); $data = (array) json_decode(file_get_contents('php://input'));
if($method == 'profile') { if($method == 'profile') {
$data = $_POST; $data = $_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