📜  请求实体太大快递 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:03:10.587000             🧑  作者: Mango

代码示例3
axios({
  url: url,
  method: "POST", <- PUT, DELETE, UPDATE, PATCH
  data: fromData, <- the form data the include the large file
  maxContentLength: "infinity", <- for large content, base64
  maxBodyLength: "infinity", <- do the same above
})