Are we allowed to edit alter the CORS policy in SC...
# suitecommerce
c
Are we allowed to edit alter the CORS policy in SCA? I’d like to make some queries to another api from the front end and I’m running into cors.
m
Which api you're trying to hit? CORS request blocking is on the browser end when the remote origin doesn't allow via the headers
Access-Control-Allow-Origin
c
@Mohammad Sharaf Ali It’s an api outside of NetSuite. My question is about whether there’s a way to insert the proper headed server side, that will allow us to make a call from the browser to an outside api.
m
You need to check whether the outside api is allowing CORS in the pre-flight options request.