DEV Community

Discussion on: Create A REST API In Codeigniter With Basic Authentication

Collapse
 
vimuth7 profile image
vimuth • Edited

Thanks so much I learned a lot from here. And I think we can use wget linux command to get Libraries and config files from codeigniter-restserver. in "Setting up Libraries and Permissions" section you can do this,

cd codeigniter/applications/libraries
wget https://raw.githubusercontent.com/ardisaurus/ci-restserver/master/application/libraries/REST_Controller.php
wget https://raw.githubusercontent.com/chriskacerguis/codeigniter-restserver/master/applic
es/Format.php
cd codeigniter/applications/config
wget https://raw.githubusercontent.com/chriskacerguis/codeigniter-restserver/master/application/config/res
t.php

Here what I have done is downloaded those files with wget command using raw view of those github files

Thanks,
Vimuth