Proposal: The Action APIs documentation should state that the action parameter should be supplied as a query parameter, even for POST requests. Not doing so should trigger a warning in the response. We should update our own code, in particular mw.Api, to follow this rule.
Motivation: it is useful for instrumentation, rate limiting (T419130), etc for layers sitting in front of MediaWiki to know which action a given request is going to perform.
Note: care must be taken that the action given in the query parameter is not then overwritten in the post body (T421287).