MediaWiki:Api-help-param-upload/en

Must be posted as a file upload using multipart/form-data.