From 517352f041b7c6a743c85c5630a71709fc39ef89 Mon Sep 17 00:00:00 2001 From: Martin Schmollinger <martin.schmollinger@reutlingen-university.de> Date: Mon, 22 Nov 2021 12:12:47 +0100 Subject: [PATCH] Corrected typo in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3a2519d..39e890b 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ http://localhost:8080/h2-console. #### Add Donation to Campaign with id -`curl -H "Content-Type: application/json" -d '{"amount":20,"donorName":"Martin","receiptRequested":true,"status":"IN_PROCESS","account":{"name":"Martin","nameOfBank":"DKB Bank","iban":"DE41123456123456"}}' localhost:8080/campaignss/1/donations` +`curl -X POST -H "Content-Type: application/json" -d '{"amount":20,"donorName":"Martin","receiptRequested":true,"status":"IN_PROCESS","account":{"name":"Martin","nameOfBank":"DKB Bank","iban":"DE41123456123456"}}' localhost:8080/campaigns/1/donations` ### Call Swagger-UI for more convenient testing the API http://localhost:8080/swagger-ui.html -- GitLab