Uploaded image for project: 'CritiqueBrainz'
  1. CritiqueBrainz
  2. CB-87

Add CORS headers to the webservice

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • GSoC 2014
    • None
    • Web service
    • None

      For example, if I run the following from my browser console on musicbrainz.org:

      $.getJSON("https://critiquebrainz.org/ws/1/review/?release_group=7e9abe51-9808-4f18-b88a-f40e9b31f303", function(data)

      { console.log("done") }

      ).fail(function()

      { console.log("failed")}

      );

      I get:

      XMLHttpRequest cannot load https://critiquebrainz.org/ws/1/review/?release_group=7e9abe51-9808-4f18-b88a-f40e9b31f303. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://musicbrainz.org' is therefore not allowed access.

            roman Roman
            nikki nikki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                GSoC 2014