Consider my controller name is Api_example and I have extended REST_Controller. Now my confusion is
public function user_get(){
//Some code..
}
public function user_post(){
    //Some code..
}
Now, I am not able to understand what is the 'user' in that method is. And if I access user_get() method like localhost/api_example/user/get or localhost/api_example/user/post just to display some array data in json format. Its not working.
Please help me.
 
     
     
     
    