aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorhitlerrip <git@hitler.rip>2025-07-29 19:44:31 +0200
committerhitlerrip <git@hitler.rip>2025-07-29 19:44:31 +0200
commit551b95fa58bf62b4a0780e09b9cba434eae52786 (patch)
tree2691f6ff652f514cf94e6c860d5ce942925f1c7a /README.md
parent3c0ebfbbcd9d41b936ede928af05db9f15733d1a (diff)
downloadhitler-clicker-551b95fa58bf62b4a0780e09b9cba434eae52786.tar.gz
hitler-clicker-551b95fa58bf62b4a0780e09b9cba434eae52786.tar.bz2
hitler-clicker-551b95fa58bf62b4a0780e09b9cba434eae52786.zip
basic auth
added basic authentication apis
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index d1eaec3..d84686f 100644
--- a/README.md
+++ b/README.md
@@ -23,3 +23,15 @@ php -S localhost:8000
# start frontend
# coming soon...
```
+
+You send requests to the API like this:
+
+```sh
+curl -X POST -d '{ "key": "value" }' http://localhost:8000/yourapifile.php
+```
+
+`index.php` automatically creates the required database tables if they do not already exist, so just request that API to have everything set up for you.
+
+## To-Do
+
+- add name and password change