From 4a8852ce6608cff8969e23916575c1198fba535e Mon Sep 17 00:00:00 2001
From: Martin Schmollinger <martin.schmollinger@reutlingen-university.de>
Date: Fri, 9 May 2025 10:52:44 +0200
Subject: [PATCH] Added curl command for PATCH to README.md

---
 README.md | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/README.md b/README.md
index 3b40c2d..4a7652d 100644
--- a/README.md
+++ b/README.md
@@ -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
 
 ```
-- 
GitLab