We sacrifice by not doing any other technology, so that you get the best of Magento.

We sacrifice by not doing any other technology, so that you get the best of Magento.

    Today we are going to talk about how to get params data in Magento 2 api.

    You can use this class for this MagentoFrameworkWebapiRestRequest

    And below code.

    <?php
    namespace MagemonkyesParamsModel;
    use MagentoFrameworkWebapiRestRequest;
    class GetpostParams
    {
        public function __construct(
            Request $requestparam
        ) {
            $this->requestparam = $requestparam;
        }
    
        public function getParampostgetValue()
        {
            $filter = $this->requestparam->getParam('name');
        }
    }

    User can get this by code to call getParampostgetValue this function.

    Fill the below form if you need any Magento relate help/advise/consulting.

    With Only Agency that provides a 24/7 emergency support.

      Get a Free Quote