I am designing an API in PHP using slim framework. These are working fine on my local system and my public IP. But now I upload these APIs files on to my company server.
Now I am trying to access API stored on my company's server but these are showing empty pages, this means I am unable to call API.
Here is the API
<?php
include('connect.php');
header('Content-type: text/xml');
header('Content-type: application/json');
// Include the Slim library
require 'Slim/Slim.php';
// Instantiate the Slim class
$app = new Slim();
$app->get('/', function () {
echo "Pericent is working on Campus Concierge...";
});
$app->run();
?>
This is working correctly locally, but it is not showing anything when I want to access company server.