Is it safe to not implement HttpPostActionInterface ?
From:
class NewAction extends SubscriberController implements HttpPostActionInterface
To:
class NewAction extends SubscriberController
My goal on removing the implement HttpPostActionInterface was to prevent the page on displaying the 404 page if no post was sent. Our requirement was only to display a blank page when user manually load the link.
Or if you have other option on displaying blank page instead displaying 404 not found content.
Other Classes connected/extended that might help:
SubscriberController
abstract class Subscriber extends \Magento\Framework\App\Action\Action
\Magento\Framework\App\Action\Action
abstract class Action extends AbstractAction
AbstractAction
abstract class AbstractAction implements \Magento\Framework\App\ActionInterface