locked
Winjs.Xhr not working for CORS RRS feed

  • Question

  • I have developed Web API and hosted on server. CORS is enabled in the WEB API. When the Universal Windows App is installed on same server, it can connect to these API(s). but when trying to access from different system, the xhr request is not working.

    To check if the CORS is really working, I created another web application and used jQuery to send an ajax request. The ajax request successfully loads data from remote server.

    The detailed problem I have placed on git hub in official WinJs branch. here or https://github.com/winjs/winjs/issues/1641

    Thursday, June 23, 2016 10:00 AM

Answers

  • Hi Hiren Desai,

    Sorry it seems this case is missing. I checked this case and found that you have fixed it by providing a solution on here:

    https://github.com/winjs/winjs/issues/1641

    "While it is resolved, I'm not closing this thread just to bring your attention and confirm. Ideally http:// is supposed to work over internet (it should not required access to private network resource). Initially I had specified Internet (client) and Internet (client & server) for my application and later after assigning private network rights, it worked."

    I will list your solution here so that others may also know how to fix this problem.

    Best regards,

    Barry


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Barry Wang Thursday, July 7, 2016 9:02 AM
    • Marked as answer by Barry Wang Friday, July 8, 2016 12:43 AM
    Thursday, July 7, 2016 9:02 AM