When designing a RESTful API in CodeIgniter, what format is typically used to send responses?
- CSV
- HTML
- JSON
- XML
In CodeIgniter, JSON is the typical format used to send responses in a RESTful API. JSON (JavaScript Object Notation) is a lightweight data interchange format that is easy for humans to read and write, and easy for machines to parse and generate. It is well-suited for representing structured data in the context of a RESTful API.
Loading...
Related Quiz
- In OAuth, what is the difference between an access token and a refresh token?
- In CodeIgniter, what is a common strategy for handling large XML files efficiently?
- To prevent SQL injection, form inputs should be ________ before being used in database queries.
- What is the role of CAPTCHA in form validation?
- How do CodeIgniter's database utilities assist in handling database versioning?