View Single Post
  #4 (permalink)  
Old 02-06-2009, 08:27 AM
tdesorbaix tdesorbaix is offline
Zimlet Guru & Moderator
 
Posts: 288
Default

Quote:
Originally Posted by caio80 View Post
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&param1=1&param2=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>
Reply With Quote