Skip to main content

PostBody Object

  • data (UploadRawData | UploadFile)[] - The post data to be sent to the new window.要发送到新窗口的过帐数据。
  • contentType string - The content-type header used for the data. 用于数据的content-type标头。One of application/x-www-form-urlencoded or multipart/form-data. application/x-www-form-urlencodedmultipart/form-data之一。Corresponds to the enctype attribute of the submitted HTML form.对应于提交的HTML表单的enctype属性。
  • boundary string (optional) - The boundary used to separate multiple parts of the message. 用于分隔消息的多个部分的边界。Only valid when contentType is multipart/form-data.仅当contentTypemultipart/form-data时有效。