#1 CodeIgniter 3.x Restful API Library – Setup and Install the CodeIgniter API Library
Video Description has the Codeigniter API Library Link. First download the codeigniter framework and set it in the local server. Now, start local server like xampp Open localhost in browser Open your project in this editor. Now, edit codeigniter home page like this. After this, download the codeigniter api library and you set up in the project folder. This is the name of the files that you have to paste in the project. Let’s move these files [API Library Files] to the project. After setting up the Library, you create an API controller in your project. Go to API demo Controller and copy some code. like this and paste in project API controller. create a new api function like this Execute this API in the browser Rename controller name add index.php in url API run This method by default supports `GET` request which we can change l like this Through the `methods` parameter in this function, we can define the request type of the API.