> It returns back base64 encoded XML.

Is it HTML or XML?

If you need to convert HTML, you can directly pass on binary data to html:parse.

What does inspect:type(http:send-request(...)[2]) return?

Best,
Christian