summaryrefslogtreecommitdiffstats
path: root/endpoint.php
blob: d55a9175f8bfc0781c4a06493ee7dc7dd0552322 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
<?php
	error_reporting(0);
	header("Content-Type: application/json");
	header("Access-Control-Allow-Origin: *");
	require "main.php";
	$g = new gimsisextClient();
	$g->setusername($_REQUEST['u']);
	$g->setpassword($_REQUEST['p']);
	echo json_encode($g->{$_REQUEST['m']}($_REQUEST['a'], $_REQUEST['b'], $_REQUEST['c'], $_REQUEST['d'], $_REQUEST['e'], $_REQUEST["f"], $_REQUEST["g"]));
?>