I don't think there's any way you can correct it.

It's working by design. The initial request responds correctly. What I
think you want is; you have a particular use case for some of the
self-service APIs.

If yes? You might to state that use case and ask how to achieve that
without depending on the self-service APIs.

Cheers

On Sun, 22 Nov 2020 at 1:39 PM, Saksham Handu <academic.ra...@gmail.com>
wrote:

> Thanks, Oluwalana for your inputs
>
> As per the API docs, I don't see any difference between the two. Can you
> please elaborate, so that I can correct my postman request (attached in
> previous mail's attachment) in a similar manner?
>
> On Sun, Nov 22, 2020 at 5:08 PM Oluwalana Olasubomi <
> subomioluwalan...@gmail.com> wrote:
>
>> Hi Saksham,
>>
>> All routes behind /self are the self service APIs built for the
>> opensource android application whereas other APIs like /client was built to
>> interact with your backend system.
>>
>> The two APIs have different authentication mechanisms that explains the
>> 401.
>>
>>
>> On Sun, 22 Nov 2020 at 10:44 AM, Saksham Handu <academic.ra...@gmail.com>
>> wrote:
>>
>>> Hello Community,
>>>
>>> I'm new to Fineract API, and I was trying Fineract API from the
>>> postman to get some understanding of its underlying APIs.
>>>
>>> I think we have an issue with */self/clients* endpoint. Refer ss 1 in
>>> attachment, it was not successful. I was getting 401
>>>
>>> Whereas I used */clients* endpoint, with the same Authorization Header,
>>> it was a success 200. Refer to ss 2 in the attachments.
>>>
>>>
>>> --
>>> Regards,
>>> Saksham Handu
>>>
>>
>
> --
> Regards,
> Saksham Handu
>

Reply via email to