From 51e725ede4378df7eeab296335ec5dab6a026b94 Mon Sep 17 00:00:00 2001 From: Thomas Steur Date: Mon, 28 May 2018 22:17:22 +1200 Subject: Remove internal API example (#12996) --- misc/others/api_internal_call.php | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 misc/others/api_internal_call.php (limited to 'misc/others') diff --git a/misc/others/api_internal_call.php b/misc/others/api_internal_call.php deleted file mode 100644 index 1790f3b8d4..0000000000 --- a/misc/others/api_internal_call.php +++ /dev/null @@ -1,33 +0,0 @@ -init(); - -FrontController::getInstance()->init(); - -// This inits the API Request with the specified parameters -$request = new Request(' - module=API - &method=Resolution.getResolution - &idSite=7 - &date=yesterday - &period=week - &format=XML - &filter_limit=3 - &token_auth=anonymous -'); -// Calls the API and fetch XML data back -$result = $request->process(); -echo $result; - -- cgit v1.2.3