Web browser: ---
            Bug ID: 60835
           Summary: Enable cross-domain Wikipedia API requests for
           Product: Wikimedia
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Unprioritized
         Component: Site requests
    Classification: Unclassified
   Mobile Platform: ---

I was hoping that the response from a GET request to Wikipedia's API[1] would
include a CORS "Access-Control-Allow-Origin: *" header, so that it could be
accessed by a client-side script running on any domain.

I ended up using the JSONP response as a workaround, but this is less secure
than cross-origin JSON, and shouldn't really be necessary now that browsers
support CORS headers.

Would it be possible to add an "Access-Control-Allow-Origin: *" header to the
API's JSON responses?


You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to