From 62a0d658541790febe678c6cad74f8dad6d12da0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 4 Nov 2019 19:18:45 +0100 Subject: dodana http endpoint in navodila --- endpoint.php | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 endpoint.php (limited to 'endpoint.php') diff --git a/endpoint.php b/endpoint.php new file mode 100644 index 0000000..a58eeb5 --- /dev/null +++ b/endpoint.php @@ -0,0 +1,9 @@ +setusername($_REQUEST['u']); + $g->setpassword($_REQUEST['p']); + echo json_encode($g->{$_REQUEST['m']}($_REQUEST['a'], $_REQUEST['b'], $_REQUEST['c'], $_REQUEST['d'], $_REQUEST['e'])); +?> -- cgit v1.2.3