From 6f80ec5f11783db47e136d70e7472d439a369ece Mon Sep 17 00:00:00 2001
From: Emmanuel Bruno <emmanuel.bruno@univ-tln.fr>
Date: Fri, 10 Dec 2021 10:22:29 +0100
Subject: [PATCH] fixes post example.

---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 772f677..7e1a0ab 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@
    4. curl http://localhost:8080/restApp/sample/persons
    5. curl  -H "Content-Type: application/json" \
       -X POST \
-      -d '{"name":"Jeanne"}'  \
+      -d '{"Person":{"name":"Jeanne"}}'  \
       http://localhost:8080/restApp/sample/persons
    6. curl http://localhost:8080/restApp-1.0-SNAPSHOT/resources/sample/persons/843c8236-6c6b-450e-9aa3-211a9b897403
    7. curl -H "Accept: text/xml" http://localhost:8080/restApp-1.0-SNAPSHOT/resources/sample/persons
-- 
GitLab