I am working on a mobile application (both iOS and Android in native code). In this there is functionality of login with Dynamics 365 and get contacts from it. In this I have used OAUTH2.0 library to implement login functionality. Login is working fine. Next, I want to fetch contacts from Dynamics 365 using API. So I am following below documentation link: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/web-api/contact?view=dynamics-ce-odata-9
In mobile app, I am not getting any response when I call this API. Also there is no error.
When I try to call [organization URI]/api/data/v9.0/contacts
from my computer browser then it gives me contacts after login.
Do I need to pass any token/authorizationCode/header parameters etc while calling this API from mobile app? In documentation they didn't mention anything regarding which things I need to pass while calling contact API.
Also I am not sure if I must have to use its mobile SDK to implement this feature rather then normal API call?