Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/html/skins/Cosmos/includes/CosmosTemplate.php on line 1323
×
Create a new article
Write your page title here:
We currently have 1 article on Meta Wiki. Type your article name above or click on one of the titles below and start writing!



    Meta Wiki

    MediaWiki:Apihelp-main-param-crossorigin

    When accessing the API using a cross-domain AJAX request (CORS) and using a session provider that is safe against cross-site request forgery (CSRF) attacks (such as OAuth), use this instead of origin=* to make the request authenticated (i.e., not logged out). This must be included in any pre-flight request, and therefore must be part of the request URI (not the POST body).

    Note that most session providers, including standard cookie-based sessions, do not support authenticated CORS and cannot be used with this parameter.