0

I want to receive and validate xml object from third party application in Magento2.

How I can write custom endpoint and response for this.

Xml payload:

<myitems>
<item>
 <info1></info1>
 <info2></info2>
 <info3></info3>
 <info4></info4>
</item>
<item>
 <info1></info1>
 <info2></info2>
 <info3></info3>
 <info4></info4>
</item>
</myitems>

If anybody can share tips to write custom api in Magento2 to handle xml post and response.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.