Translations:Manual:CORS/21/en

The same example can be rewritten more succinctly using some [$docmethod mediawiki.api helper methods], which are available for ForeignApi too: