summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 9e974ad..0552385 100644
--- a/README.md
+++ b/README.md
@@ -47,3 +47,10 @@ Update title and description:
```shell
curl --header "Content-Type: application/json" --request PUT --data '{"id":19,"name":"New Café (UBT)","description":"My description","type":"CAFE","campus":"MAIN","street":"Teststraße","houseNumber":"99","postalCode":12345,"city":"Bayreuth"}%' http://localhost:8080/api/pos/19 # set correct task id here and in the body
```
+
+#### examples
+```shell
+curl --header "Content-Type: application/json" --request POST --data '{"name":"Stadtbäckerei Schaller GmbH","description":"","type":"CAFE","campus":"MAIN","street":"Nürnberger Straße","houseNumber":"3b","postalCode":95448,"city":"Bayreuth"}%' http://localhost:8080/api/pos
+
+curl http://localhost:8080/api/pos/4
+```