Forum Discussion

manashree_rao's avatar
11 years ago

Send and receive xml from Lithium Custom component to endpoint

Hi,    I am getting a xml response from rest call in custom component. I want to send this xml as it is to an endpoint. Currently I am doing this using jquery post call. But I am not able to read th...
  • VarunGrazitti's avatar
    11 years ago

    manashree_rao  use following to read your xml sent over from custom component in endpoint

     

    <#assign xml_data= http.request.parameters.name.get("xml_data","") />

    ${xml_data}

     

    Let me know if this helps.