When the axios parameter is submitted with formdata, it cannot be changed from centent-type to multipart/form-data;.

Jun.21,2021

const http = axios.create()
http.interceptors.request.use(
  config => {
      // 
      if(...) {
          config.headers['content-type'] = 'application/x-www-form-urlencoded'
      }
  }
)

FormData using multipart/form-data is the specification.
xmlhttprequest-send

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32c31-2be32.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b32c31-2be32.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?