Quote:
Originally Posted by caio80 I was just wondering the same...
I need to make get/post requests to an API on a server which will accept just https connections.... By using (Please notice that allowedDomains is set in config_template.xml, tried both "https://<externalAPIserver>" and "<externalAPIserver>" as values): Code: this.sendRequest(requestParams, url, null ,this._callback, false, true) Firebug says Code: http://<zimbrahostname>/service/proxy?target=https%3A%2F%2F<externalAPIserver>%2Fapi¶m1=1¶m2=45 403 Forbidden |
Did you add a permission for the zimbra proxy to access this url?
You can verify it with a command line on the server :
zmprov gc <COS>
look if you have a line :
zimbraProxyAllowedDomains <externalAPIserver>
If not, you can add it like this :
zmprov mc <COS> +zimbraProxyAllowedDomains <externalAPIserver>