From 551b95fa58bf62b4a0780e09b9cba434eae52786 Mon Sep 17 00:00:00 2001 From: hitlerrip Date: Tue, 29 Jul 2025 19:44:31 +0200 Subject: basic auth added basic authentication apis --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'README.md') 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 -- cgit v1.2.3