Difference between revisions of "CORS On Mediawiki API"
Jump to navigation
Jump to search
(Created page with "=Introduction on CORS= =CORS Implementation on Mediawiki API= ==How to configure== ==Sample API Calls==") |
|||
Line 1: | Line 1: | ||
=Introduction on CORS= | =Introduction on CORS= | ||
'''Cross-origin resource sharing (CORS)''' is a mechanism that allows restricted resources on a web page to be requested from another domain outside the domain from which the first resource was served<ref>https://en.wikipedia.org/wiki/Cross-origin_resource_sharing</ref>. The mechanism is implemented on browser-side or client-side, in which the controlling variables is implemented based on client request header and server response header. This mechanism is implemented on various mobile and desktop browser.<ref>https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#specifications</ref><ref>https://hacks.mozilla.org/2009/07/cross-site-xmlhttprequest-with-cors/</ref>Prior to '''CORS''' Implementation, cross-site browser request is not allowed. | |||
=CORS Implementation on Mediawiki API= | =CORS Implementation on Mediawiki API= | ||
==How to configure== | ==How to configure== | ||
==Sample API Calls== | ==Sample API Calls== |
Revision as of 16:45, 11 August 2022
Introduction on CORS
Cross-origin resource sharing (CORS) is a mechanism that allows restricted resources on a web page to be requested from another domain outside the domain from which the first resource was served[1]. The mechanism is implemented on browser-side or client-side, in which the controlling variables is implemented based on client request header and server response header. This mechanism is implemented on various mobile and desktop browser.[2][3]Prior to CORS Implementation, cross-site browser request is not allowed.