AnsweredAssumed Answered

REST API - SUGARCRM -  XMLHttpRequest

Question asked by brunoribeiro brunoribeiro on May 20, 2015
Latest reply on May 27, 2015 by brunoribeiro brunoribeiro
Code:


Guys, you would know tell me why this error is occurring below, I am working with rest with jquery, I'm with cross domain but enabled the error persisted, I would need to do a customization on the module to enable cross domain?

Error:

XMLHttpRequest cannot load http://1.1.1.76/sugarcrm/rest/v10/oauth2/token. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access.

Note: Local Environment works.

Thank you for your help :)

Outcomes