summaryrefslogtreecommitdiffstats
path: root/endpoint.php
blob: a58eeb5172b8cf1e506ddda4da59212661e15b9e (plain) (blame)
1
2
3
4
5
6
7
8
9
<?php
	error_reporting(0);
	header("Content-Type: application/json");
	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']));
?>