You need to sign in to do that
Don't have an account?
lakshmi.sf9
REST api in between salesforce and UI
Hi,
I have written one rest api class.Other server using the jquery hitting the salesforce and they are facing the issue with the following error
XMLHttpRequest cannot load https://cs36.salesforce.com/services/oauth2/token?grant_type=----&client_secret=-----. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://localhost:9084' is therefore not allowed access.
From tool it is working fine.This is rest api in between salesforce and UI
I tested my class form other salesforce org its working fine.I added their server url in remote site settings as well as in CORS.Please any one suggest me on this issue.Its urgent to me.
Thanks in advance,
lakshmi
I have written one rest api class.Other server using the jquery hitting the salesforce and they are facing the issue with the following error
XMLHttpRequest cannot load https://cs36.salesforce.com/services/oauth2/token?grant_type=----&client_secret=-----. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://localhost:9084' is therefore not allowed access.
From tool it is working fine.This is rest api in between salesforce and UI
I tested my class form other salesforce org its working fine.I added their server url in remote site settings as well as in CORS.Please any one suggest me on this issue.Its urgent to me.
Thanks in advance,
lakshmi
sfdcsushil
http://stackoverflow.com/questions/20035101/no-access-control-allow-origin-header-is-present-on-the-requested-resource