From b5c318854ce8001834c0c717b458249eb6214c14 Mon Sep 17 00:00:00 2001 From: Gisli Nielsen <gislion@stud.ntnu.no> Date: Thu, 9 May 2024 13:59:02 +0200 Subject: [PATCH] Added text saying example data --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 2d74d3a..f8aa49b 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,8 @@ http://localhost:8080/order/ Method = ["GET"] http://localhost:8080/order/ Method = ["POST"] +Example JSON data + ```JSON { "products": [ @@ -69,6 +71,9 @@ http://localhost:8080/order/ Method = ["POST"] ``` http://localhost:8080/order/payment Method = ["POST"] + +Example JSON data + ```JSON { "order_id": 1, -- GitLab