Improve API 'origin' parameter description
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 3 Apr 2013 16:09:12 +0000 (12:09 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 3 Apr 2013 16:10:21 +0000 (12:10 -0400)
commitcdb562b09e654d1b06474a7d7c39d8f239b719ea
tree9693b2f7d8f9a4413631ab3ae5c20a4ad66b8529
parentb1584c4748005b4e689056aa30213a1cc3c0bb9b
Improve API 'origin' parameter description

When making CORS pre-flight requests, the origin parameter must still be
included. This means that it cannot be in the POST body, as that is not
sent for pre-flight.

Document that.

Change-Id: I3fc809cf2e4ca9c2566f62d32f96d24377c72863
includes/api/ApiMain.php