summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2021-09-10 23:12:04 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2021-09-10 23:12:04 +0200
commit900e4b546e56a11cbc75f1af7195ebbaca9c95ac (patch)
treeb278966fab02fb724285760da54cde66211a7dd4 /misc
parentsome fixing work (diff)
downloaddiscord.c-900e4b546e56a11cbc75f1af7195ebbaca9c95ac.tar
discord.c-900e4b546e56a11cbc75f1af7195ebbaca9c95ac.tar.gz
discord.c-900e4b546e56a11cbc75f1af7195ebbaca9c95ac.tar.bz2
discord.c-900e4b546e56a11cbc75f1af7195ebbaca9c95ac.tar.lz
discord.c-900e4b546e56a11cbc75f1af7195ebbaca9c95ac.tar.xz
discord.c-900e4b546e56a11cbc75f1af7195ebbaca9c95ac.tar.zst
discord.c-900e4b546e56a11cbc75f1af7195ebbaca9c95ac.zip
Diffstat (limited to 'misc')
-rw-r--r--misc/api/README.md1
-rw-r--r--misc/api/v9/auth/login/index.php6
2 files changed, 7 insertions, 0 deletions
diff --git a/misc/api/README.md b/misc/api/README.md
new file mode 100644
index 0000000..f4ad906
--- /dev/null
+++ b/misc/api/README.md
@@ -0,0 +1 @@
+when debugging, you can run `php -S 0:80` in `misc/` to debug some things, though this is just for my personal use.
diff --git a/misc/api/v9/auth/login/index.php b/misc/api/v9/auth/login/index.php
new file mode 100644
index 0000000..9f8ff72
--- /dev/null
+++ b/misc/api/v9/auth/login/index.php
@@ -0,0 +1,6 @@
+<?php
+header("custom-header: customm");
+echo "v kolikor te zanimajo kvalitetne moške obutve po sezonskih cenah, obišči mlad.si";
+error_log("post body: " . file_get_contents("php://input"));
+error_log(implode(",", getallheaders()));
+?>