Notifications
Clear all
Topic starter
A developer has been tasked to create a new controller for custom functionality. Only GET HTTP requests must be allowed .
What must be done so the controller processes only GET requests?
- A . Use the REQUEST class constant to specify the request.
B. Ensure the controller class Implements Magento\Framework\App\Action\HttpGetAction lnterface.
C. Ensure the controller extends the Magento\Framework\App\Action\AbstractGetController.
Suggested Answer: B
Posted : 02/12/2022 1:41 pm