From 4f03fff5f3926d82e87eda3b1af20c59e66ac7c0 Mon Sep 17 00:00:00 2001
From: Ivan Ivanov <ivanivanov@Ivans-MacBook-Air.local>
Date: Wed, 31 Mar 2021 10:36:40 +0100
Subject: [PATCH] Included testing instructions for the rest service

---
 README.md | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/README.md b/README.md
index d8def85..36074f3 100644
--- a/README.md
+++ b/README.md
@@ -14,6 +14,11 @@ $ make test
 ```
 docker-compose up -d
 ```
+## Testing the REST API
+Testing the Rest API happens by using the endpoint which should be localhost:8080
+```
+curl -X POST -H 'Content-Type: application/json' -d @example.json localhost:8080
+```
 ## Discussion
 Designing the solution is made based on the assumption that the load will be a JSON file containing an array of all the entries needed to perform the calculations. The code can run in 2 modes:
 - TEST: this mode allows you to test the utility using a sample JSON file from the local file system
-- 
GitLab