here is my route.php
Route::post('users' , array('uses' => 'Userscontroller@index'));
This is my Userscontroller.php
public function index()
{
$email_id = Input::get('email_id');
$name = Input::get('name');
return $email_id. ' ' .$name;
}
When i run this in postman I get error as
'>' unexpected in JSON
.
Where m I missing?
Thank You.