From e063081a825a152a3e6da831043e2db2cf03de8b Mon Sep 17 00:00:00 2001 From: Ruphine Kengne Date: Thu, 25 Sep 2025 17:48:18 +0200 Subject: [PATCH] FINERACT-2326: add test Fineract API requests to README --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index f714a96fd..720dcb1ac 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,23 @@ Run the following commands: 1. `./gradlew createDB -PdbName=fineract_default` 1. `./gradlew devRun` +Fineract is now running, and will be listening for API requests on port 8443 by default. + +Confirm Fineract is ready with, for example: + +```bash +curl --insecure https://localhost:8443/fineract-provider/actuator/health` +``` + +To test authenticated endpoints, include credentials in your request: + +```bash +curl --location \ + https://localhost:8443/fineract-provider/api/v1/clients \ + --header 'Content-Type: application/json' \ + --header 'Fineract-Platform-TenantId: default' \ + --header 'Authorization: Basic bWlmb3M6cGFzc3dvcmQ=' +```
INSTRUCTIONS: How to build the JAR file ============