XMLHttpRequest for rest service required CORS

330
0
01-22-2018 08:51 AM
zam_zammalek
New Contributor

Hi.

I have manage to extend the QUERY WIDGET to add custom reports on the query result. The widget works fine before  until recently when it start to give error with Cross Origin issue.

the error message says :

XMLHttpRequest for https://my_server_address/server/rest/services/.../MapServer/export? required Cross Origin Resorces Sharing (CORS)

Please help . what to do ?

I have setup a proxy server but the same error message still appeared.

this my proxy.config setting .

this my webapp setting

i'm sure i have miss some steps here . any help are much appreciated .

thanks in advance

zamzam

0 Kudos
0 Replies