Skip to content
Snippets Groups Projects
Commit 6f80ec5f authored by Emmanuel Bruno's avatar Emmanuel Bruno
Browse files

fixes post example.

parent 0d40840d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment