I want to send POST request from my magento 2 module to a Rest API with details like site URL. Example: if my site is http://thisisademostore.com. I should get this value inside my module.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.