Hi,
I am in the process of developing an Android Mobile phone application and would like to test the URL which I imbed in the app,
I have read the Developer documentation, including https://docs.espocrm.com/development/api-client-java/ however methods to query directly via the browser is not covered, also need to extroplate how to transpose and use the provided Java example into the "Android Studio IDE" and coding methods, which perfer the Kotlin language.
I have an internal development Apache WEB server running on Ubuntu Linux headless server. I have set up a self signed SSL Cert.
I have tried to use the following in the Google Chrome address bar on a second pc to test the access and response from my ESPOcrm on my internal server,
"https://192.168.0.xxx/espocrm/api/v1/account?X-Api-Key=MyApiKeyHere "
(I have tried many variants of this eg: api_key=xxx etc)
The browser still requests a Username and password before alllowing a respose with the json data from the database.
I have set up an API User and Api Role in ESPOcrm, I presume that should mean I should not be prompted for login credentials when using the API Key?
Is my syntax incorrect or does the Esocrm API not allow passing of the API key via the browser address bar?
regards,
Vik
I am in the process of developing an Android Mobile phone application and would like to test the URL which I imbed in the app,
I have read the Developer documentation, including https://docs.espocrm.com/development/api-client-java/ however methods to query directly via the browser is not covered, also need to extroplate how to transpose and use the provided Java example into the "Android Studio IDE" and coding methods, which perfer the Kotlin language.
I have an internal development Apache WEB server running on Ubuntu Linux headless server. I have set up a self signed SSL Cert.
I have tried to use the following in the Google Chrome address bar on a second pc to test the access and response from my ESPOcrm on my internal server,
"https://192.168.0.xxx/espocrm/api/v1/account?X-Api-Key=MyApiKeyHere "
(I have tried many variants of this eg: api_key=xxx etc)
The browser still requests a Username and password before alllowing a respose with the json data from the database.
I have set up an API User and Api Role in ESPOcrm, I presume that should mean I should not be prompted for login credentials when using the API Key?
Is my syntax incorrect or does the Esocrm API not allow passing of the API key via the browser address bar?
regards,
Vik
Comment