I have an old PHP curl app which i am trying to convert to NodeJs and request. My current code works fine in PHP and looks like this.
$myXML = \'