The sugarCRM is hosted on http along with that custom API is expose.
And when we are trying to access the exposed endpoint from different application which is hosted in https.
Does it create a problem ?
The sugarCRM is hosted on http along with that custom API is expose.
And when we are trying to access the exposed endpoint from different application which is hosted in https.
Does it create a problem ?
Okay, if you are sure the endpoint is developed according to Sugar development practice, I may suggest an option to debug.
I've created a temporary demoinstance sg-examples4.demo.sugarcrm.eu/ (admin/asdf) and you may try to deploy custom API on it then try to call the custom API
It is a standard cloud demo - therefore if the call to custom API fails for it, then the problem is not with the instance or deployments specifics - you should be in a position to focus on API itself or the way you send a request.
Best Regards,
Dmytro Chupylka
integroscrm.com
We make work in Sugar CRM system faster, more convenient and efficient
Hi Dmytro Chupylka
Thanks so assistance so far i didnt' do any deployment from instance.
If you would have give procedure for deployment that will be very helpful to crack this issue
You might create a zip file with a manifest to install custom adjustments via Module Loader
I'm not a developer but I know that should be done for proper deployment - I would suggest going through Sugar documentation about preparing installable packages, that shouldn't take much time.
Best Regards,
Dmytro Chupylka
integroscrm.com
We make work in Sugar CRM system faster, more convenient and efficient
Hi Dmytro Chupylka
Thanks for the help.
The send/receive the API request is blocked within our network.
Do we have some way to put $GLOBALS->log other than my API request page
Maybe you may use some online editor to play with JS and sent your API request to cloud-based Sugar instance with custom API deployed on it, e.g https://js.do/ - write and run your javascript code inside the page.
Best Regards,
Dmytro Chupylka
integroscrm.com
We make work in Sugar CRM system faster, more convenient and efficient
You Should use Logs and trace the logs on your sugarcrm.log on your serve
Rodrigo Manara
Sr. Developer
Hi Rodrigo Manara
But how would i add logs other than my API page. I want to print headers and request body before request hits my API page. Is there any specific page that i can add logs other than my API page.
request Body will be on the args, now the Headers I never need to save but try this method in php getallheaders : https://php.net/manual/en/function.getallheaders.php
Rodrigo Manara
Sr. Developer