diff --git a/README.md b/README.md index 3a2519d12afe6fbce43bb13f1ab8062f2d40b46f..39e890b4a37299e87eb3ac39577200907819c06a 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