summaryrefslogtreecommitdiffstats
path: root/misc/api
diff options
context:
space:
mode:
Diffstat (limited to 'misc/api')
-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()));
+?>