Q. What is returned when you define a route like Router::get('/hello', ['hello'=>'world'])?

  • (A) HTML page
  • (B) Plain text
  • (C) JSON response
  • (D) Binary data
πŸ’¬ Discuss
βœ… Correct Answer: (C) JSON response
Explanation: Returns JSON response automatically.
Explanation by: Roshan
Returns JSON response automatically.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
8
Total Visits
πŸ“½οΈ
2 mo ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
94%
Success Rate