Yes, it appears that you are using the "old" APIs for the response object. You might try using the following APIs instead.
$.response.headers.set('access-control-allow-origin', '*');
$.response.status = $.net.http.OK;
Cheers,
Rich Heilman
Yes, it appears that you are using the "old" APIs for the response object. You might try using the following APIs instead.
$.response.headers.set('access-control-allow-origin', '*');
$.response.status = $.net.http.OK;
Cheers,
Rich Heilman