I'm creating the android app for my code igniter web site and i want to save data through restful web service but when i send request to my put method it's giving me wrong result.
this is my to view the result.
$data = $this->request->body = file_get_contents('php://input');
You need to get data from post
$data = $_POST['name'];