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

Add CORS headers to the webservice

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: GSoC 2014
    • Component/s: Web service
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                GSoC 2014