Skip to content

Commit e063081

Browse files
FINERACT-2326: add test Fineract API requests to README
1 parent f30aa36 commit e063081

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,23 @@ Run the following commands:
6969
1. `./gradlew createDB -PdbName=fineract_default`
7070
1. `./gradlew devRun`
7171

72+
Fineract is now running, and will be listening for API requests on port 8443 by default.
73+
74+
Confirm Fineract is ready with, for example:
75+
76+
```bash
77+
curl --insecure https://localhost:8443/fineract-provider/actuator/health`
78+
```
79+
80+
To test authenticated endpoints, include credentials in your request:
81+
82+
```bash
83+
curl --location \
84+
https://localhost:8443/fineract-provider/api/v1/clients \
85+
--header 'Content-Type: application/json' \
86+
--header 'Fineract-Platform-TenantId: default' \
87+
--header 'Authorization: Basic bWlmb3M6cGFzc3dvcmQ='
88+
```
7289

7390
<br>INSTRUCTIONS: How to build the JAR file
7491
============

0 commit comments

Comments
 (0)