Audry and Fineract Community,

You can check the parameters required to call the Fineract APIs using the
Swagger UI

https://demo.fineract.dev/fineract-provider/swagger-ui/index.html

For your query:

https://demo.fineract.dev/fineract-provider/swagger-ui/index.html#/Roles/retrieveAllRoles

I.e. for your API call (just replace the credentials string in upper case ):

curl -X 'GET' \
  'https://localhost:8443/fineract-provider/api/v1/roles' \
  -H 'accept: application/json' \
  -H 'Authorization: Basic PLEASE_REPLACE' \
  -H 'fineract-platform-tenantid: default'

El vie, 8 jul 2022 a las 6:46, Gagan Goel (<[email protected]>)
escribió:

> Thanks that helped
>
> On Fri, Jul 8, 2022, 16:16 Audrey Ndum <[email protected]> wrote:
>
>> Hi Gagan,
>>
>> Try including with your requests the header "Fineract-Platform-TenantId"
>> with a value of "default".
>> Or use this instead:
>> http://localhost:8443/fineract-provider/api/v1/roles?tenantIdentifier=default
>>
>> Regards,
>> Audrey.
>>
>> On Fri, Jul 8, 2022, 11:30 AM Gagan Goel <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> I tried hitting the simple et endpoints like
>>> http://localhost:8443/fineract-provider/api/v1/roles.
>>>
>>> Regards,
>>> Gagan
>>>
>>>
>>> On 08-Jul-2022, at 1:27 PM, Gagan Goel <[email protected]> wrote:
>>>
>>> Hi,
>>>
>>> I am trying to deploy fineract locally. And I always seem to get a 400
>>> Bad request response for any Rest API I hit.
>>>
>>> I have tried running using these 2 methods -
>>> • Docker -
>>> https://github.com/apache/fineract#instructions-to-run-using-docker-and-docker-compose
>>> • Dockerdb + Gradle -
>>> https://github.com/apache/fineract#instructions-how-to-run-for-local-development
>>>
>>>
>>> The only change I have made in to disable SSL
>>> using FINERACT_SERVER_SSL_ENABLED environment variable.
>>>
>>> After the service is up I can see the
>>> response {"status":"UP","groups":["liveness","readiness”]} from
>>> http://localhost:8443/fineract-provider/actuator/health.
>>>
>>> Am I missing anything?
>>>
>>> Regards,
>>> Gagan
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *Disclaimer - The contents of this email message and any attachmentsare
>>> confidential and are intended solely for the addressee. Theinformation may
>>> also be legally privileged. This transmission is sentin trust, for the sole
>>> purpose of delivery to the intended recipient.If you have received this
>>> transmission in error, any use, reproductionor dissemination is strictly
>>> prohibited. Please notify the senderimmediately by email if you have
>>> received this email by mistake anddelete this email from your system.*
>>>
>>
>
>
>
>
>
>
>
> *Disclaimer - The contents of this email message and any attachmentsare
> confidential and are intended solely for the addressee. Theinformation may
> also be legally privileged. This transmission is sentin trust, for the sole
> purpose of delivery to the intended recipient.If you have received this
> transmission in error, any use, reproductionor dissemination is strictly
> prohibited. Please notify the senderimmediately by email if you have
> received this email by mistake anddelete this email from your system.*
>

Reply via email to