Code for pdf to svg using http post (does not compile)

shows technique used in sending an xml file to a conversion website
using it's API