Magento2 I have created a CMS Block with HTML data inside, with tags like Ul Li etc.. In this li tags I have added new tags like <li type="XYZ" title="ABC" />, Now I need to send this data/value of title & type when a user call a CUSTOM API in Json format.
Can someone please guide me how to achieve this?