Skip to content
Snippets Groups Projects
Commit 4a8852ce authored by Martin Schmollinger's avatar Martin Schmollinger
Browse files

Added curl command for PATCH to README.md

parent db18f9ed
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,11 @@ curl localhost:8000/campaigns
curl -H "Content-Type: application/json" -X PUT -d '{"name":"Post Covid","organizerName":"Martin","donationMinimum":2,"targetAmount":199,"account":{"name":"Martin","bankName":"DKB","number":"123456"}}' localhost:8000/campaigns/1
```
### Patch campaign with id 1
```
curl -H "Content-Type: application/json" -X PATCH -d '{"OrganizerName":"Marcus","account":{"BankName":"KSK"}}' localhost:8000/campaigns/1
```
### Delete campaign with id 1
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment