diff --git a/README.md b/README.md index 772f67712697bfde79b9ce1587a61596418ed39f..7e1a0ab302cf32ce61063cd645cad5a32122cb70 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