Is there any way to use HTTP.post(url, body, headers)
of ionic-native with a XML body?
post() there it says it needs an object (JSON) but my webservice needs an XML request.
Is there maybe something like an xml object?
Is there any way to use HTTP.post(url, body, headers)
of ionic-native with a XML body?
post() there it says it needs an object (JSON) but my webservice needs an XML request.
Is there maybe something like an xml object?
Did you try to set content-type to text/xml like in the following example?
let headers = new Headers();
headers.append('Content-Type', 'text/xml');