Q. How do you define a GET route in Trishul API?
Code:Router::get('/hello', ["hello"=>"world"]);
β
Correct Answer: (C)
Router::get('/hello', [...])
Explanation: Router::get() is used to define GET routes.