From e76f54b2549fe48d97f10897223709a148aeca77 Mon Sep 17 00:00:00 2001 From: Steffen Martinsen <steffema@stud.ntnu.no> Date: Thu, 9 May 2024 11:59:57 +0000 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f8aa49b..317889b 100644 --- a/README.md +++ b/README.md @@ -11,17 +11,17 @@ applications The service can be hosted locally on your computer after running the code included in the `Backend` directory. The service can be accessed at the URL: `http://localhost:8080` ## Services being provided -## Homepage +### Homepage http://localhost:8080/ Method = ["GET"] -## Category +### Category http://localhost:8080/category Method = ["GET"] http://localhost:8080/category/<string:category_name> Method = ["GET"] -## User +### User http://localhost:8080/register Method = ["POST"] Example JSON data @@ -46,14 +46,14 @@ Example JSON data ``` http://localhost:8080/logout Method = ["POST"] -## Product +### Product http://localhost:8080/product Method = ["GET"] http://localhost:8080/product/search/<string:search> Method = ["GET"] http://localhost:8080/product/<int:product_id> Method = ["GET"] -## Order +### Order http://localhost:8080/order/ Method = ["GET"] http://localhost:8080/order/ Method = ["POST"] -- GitLab