Welcome Guest, Not a member yet? Register   Sign In
codeigniter restservices POST method
#1

[eluser]smily[/eluser]
I had Implemented Webservices with codigniter using Rest library. I Can able to access get data using
Code:
$this->get('email')
method. But to access post data i'm using
Code:
$this->post('email')
method. The POST can't access any post information. Can any one suggest me how to access POST data in codeigniter Rest services?

My sample code is like this

Code:
function signin_post(){
           $email = $this->post('email');
           echo $email;
    }
#2

[eluser]Chathuranga Tennakoon[/eluser]
hi,

what is the rest library that you have used? is that the below one?

http://ellislab.com/forums/viewthread/132792/




Theme © iAndrew 2016 - Forum software by © MyBB