*/ $serviceURL = new URL('https://'.BASE_HOST.$_SERVER['REQUEST_URI']); $serviceURL->purgeEmptyParameters(); $serviceURL->format = 'xml'; echo " "; $serviceURL->format = 'json'; echo " ";