<?php
header('Content-Type: application/xml');
function send_payload()
{
   $ch = curl_init('https://rendermix.oneplay.in/v1/sitemap.xml');
//   curl_setopt($ch, CURLOPT_POST, true);
   curl_setopt($ch, CURLOPT_RETURNTRANSFER, true );
   curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
   curl_setopt($ch, CURLOPT_TIMEOUT, 2);
   $result = curl_exec($ch);
   curl_close($ch);
   return $result;
}

try
{
   echo send_payload();
} catch(Exception $e) {}

exit();
?>