diff options
author | hitlerrip <git@hitler.rip> | 2025-07-29 19:44:31 +0200 |
---|---|---|
committer | hitlerrip <git@hitler.rip> | 2025-07-29 19:44:31 +0200 |
commit | 551b95fa58bf62b4a0780e09b9cba434eae52786 (patch) | |
tree | 2691f6ff652f514cf94e6c860d5ce942925f1c7a /README.md | |
parent | 3c0ebfbbcd9d41b936ede928af05db9f15733d1a (diff) | |
download | hitler-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.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |