From 3ca8a5921059a1f8840387c675f58a98c3bd7990 Mon Sep 17 00:00:00 2001 From: samantha Date: Fri, 27 Mar 2026 10:59:33 +0000 Subject: [PATCH] Update REST API --- REST-API.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/REST-API.md b/REST-API.md index d540c10..5168a07 100644 --- a/REST-API.md +++ b/REST-API.md @@ -80,14 +80,15 @@ Value | Meaning

GET /trade/list

getting a list of trades in the db

curl -X POST http://localhost:8080/trade/list 
-
return:\
-{\
-"Symbol":"NOVOBc",\
+
return:
+
+{
+"Symbol":"NOVOBc",
 "CurrencyCode":"DKK",\
-"Shares":15,\
-"Product":0,\
-"Type":true,\
-"Price":505,\
+"Shares":15,
+"Product":0,
+"Type":true,
+"Price":505,
 "Date":"2025-03-26T00:00:00Z"
 }