As we have to create RESTful web services in codeigniter; so latest codeigniter version is required. Visit codeigniter website and download latest version of codeigniter and unzip it. Create a folder restful-services-in-codeigniter in htdocs or wwwroot folder of your php installation.
To delete a book from database using API deleteBook method is used. Open postman and add following URL in :8888/restful-services-in-codeigniter/api/deletebook.From drop down select delete method. 153554b96e