Initial import from local backup (Documents-Playground/pakerpale)
This commit is contained in:
19
homestead/application/controllers/PodController.php
Normal file
19
homestead/application/controllers/PodController.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
defined('BASEPATH') or exit('No direct script access allowed');
|
||||
|
||||
class PodController extends MY_Controller
|
||||
{
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function station()
|
||||
{
|
||||
if($this->input->method() == 'post') {
|
||||
$this->load->model('StationModel', 'stationModel');
|
||||
$this->response(200, 'success', $this->stationModel->save(json_decode($this->input->raw_input_stream)));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user