What must be done s...
 
Notifications
Clear all

What must be done so the controller processes only GET requests?

1 Posts
1 Users
0 Likes
86 Views
(@bulluckrolando)
Posts: 664
Noble Member
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.

Show Answer Hide Answer

Suggested Answer: B
 
Posted : 02/12/2022 1:41 pm
Topic Tags

Latest Adobe AD0-E711 Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: