API that catches HTTP Post encoded in CXML
I am trying to build an API endpoint that can catch an HTTP Post that is encoded in XML. The error I am getting is:Document input views only accept JSON-encoded data. I understand that there are snaps that allow me to conver the XML to JSON once the data is in the pipeline but I cant get the HTTP Post into my pipeline to begin with. Unfortunately, I do not have the luxury of converting the XML to JSON as this is data from over 100 different vendors.
Does anyone know if SnapLogic is able to handle an HTTP Post encoded in XML?
Thanks for any help in advance!
According to my esteemed colleague @akidave, we do allow POST data directly to XML Parser snap through a triggered pipeline which in your case would be the API end point. If your first snap in the pipeline is the XML Parser, you should be able to process it and your pipeline is a triggered pipeline, you should be able to send the XML encoded POST data to this triggered pipeline.