cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

CORS Setting in Cloudplex

debashish_bose
New Contributor II

I have created triggered task in cloudplex which is tested & working from postman but the same is not working from javascript. Just want to know if any one done any setup for Cross Origin Request Sharing (CORS) in snaplogic cloudplex

7 REPLIES 7

debashish_bose
New Contributor II

Yes I have read the documentation & configured accordingly Now its working fine ๐Ÿ™‚

VChupaev
New Contributor II

Hi, @mbowen,
yes the request sends the Authorization header, since it is a call to the SL task, which requires a token, so looks like I cannot avoid a preflight call.
I tried a host without asterisk, actually I have both records at the same time - with full domain and with wildcard.
Actually I expected that after setting the Allowlist I will have Access-Control-Allow-Origin header in response.
I want to understand where is a problem, I can think about these reasons:

  1. The SL profile is not configured to work with CORS and requires assistance from your side.
  2. The allowlist has incorrect values.

Thank you.

VChupaev
New Contributor II

Hi @tlikarish,
your solution works, thank you so much!