summaryrefslogtreecommitdiffstats
path: root/endpoint.php
diff options
context:
space:
mode:
authorAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-02-10 17:18:44 +0100
committerAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-02-10 17:18:44 +0100
commit201470c387d6464f99da0d939e743487208a540d (patch)
treeb8d5fb0b31349b35004a6386f2c3ed50fb074fc0 /endpoint.php
parentfixed endpoint to support up to 7 parameters (diff)
downloadgimsisextclient-201470c387d6464f99da0d939e743487208a540d.tar
gimsisextclient-201470c387d6464f99da0d939e743487208a540d.tar.gz
gimsisextclient-201470c387d6464f99da0d939e743487208a540d.tar.bz2
gimsisextclient-201470c387d6464f99da0d939e743487208a540d.tar.lz
gimsisextclient-201470c387d6464f99da0d939e743487208a540d.tar.xz
gimsisextclient-201470c387d6464f99da0d939e743487208a540d.tar.zst
gimsisextclient-201470c387d6464f99da0d939e743487208a540d.zip
Diffstat (limited to 'endpoint.php')
-rw-r--r--endpoint.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/endpoint.php b/endpoint.php
index d55a917..4cc9931 100644
--- a/endpoint.php
+++ b/endpoint.php
@@ -2,6 +2,7 @@
error_reporting(0);
header("Content-Type: application/json");
header("Access-Control-Allow-Origin: *");
+ header("X-sijanec-gimsisextclient-endpoint-version: 0.0.1");
require "main.php";
$g = new gimsisextClient();
$g->setusername($_REQUEST['u']);