I am using httr to make a POST call to a SOAP API. The content type I have to use is application/soap+xml, and I need to parse my login request to retrieve my token. content() does not accept application/soal+xml as a mime type. How can I parse this within r?
Asked
Active
Viewed 64 times
0
-
You should be able to just parse that as XML so try `text/xml`. If that doesn't work try giving some sort of simple [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) with sample input and desired output that can be used to test and verify possible solutions. – MrFlick Oct 05 '22 at 21:47