cancel
Showing results for 
Search instead for 
Did you mean: 

CORS support in web scripts

hkır
Champ in-the-making
Champ in-the-making
Hi,
Same origin policy of javascript prevented me to make ajax calls (tried both yui connect and XMLHttpReques) from my custom application to my alfresco web scripts which are located different servers. So I want to write a webscript that support Cross-Origin Resource Sharing, is this possible (like: http://enable-cors.org/)?
Thanks in advance.
2 REPLIES 2

stevegreenbaum
Champ in-the-making
Champ in-the-making

hkır
Champ in-the-making
Champ in-the-making
Thanks for your answer. Since I only use GET http method for now, JSONP solved my problem. But for full method support proxy looks preferable as you said.