diff options
-rw-r--r-- | README.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 +``` |