How does CodeIgniter support RESTful controller methods?
- By configuring routes to handle RESTful requests
- By extending the REST_Controller class
- By using special annotations in the controller methods
- CodeIgniter does not support RESTful controller methods
CodeIgniter supports RESTful controller methods by extending the REST_Controller class. This class provides functionality to handle HTTP methods like GET, POST, PUT, and DELETE in a RESTful manner. It streamlines the process of building RESTful APIs in CodeIgniter.
Loading...
Related Quiz
- To enable database caching in CodeIgniter, the $db['default']['cache_on'] setting must be set to ________.
- When retrieving the latest 10 records from a table sorted by date, the combination of Active Record Class methods to use is: ________.
- How does the Query Builder in CodeIgniter help in preventing SQL injection?
- To initialize pagination in CodeIgniter, you must first load the ________ library.
- What is the difference between the get() and get_where() methods in the Active Record Class?