Related questions
Question 15 - AD0-E711 discussion
A developer has been tasked to create a new controller for custom functionality. Only GET HTTPrequests 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\HttpGetActionlnterface.
C.
Ensure the controller extends the Magento\Framework\App\Action\AbstractGetController.
Your answer:
0 comments
Sorted by
Leave a comment first