The front-end post requests how to pass the array in form data.

key
clipboard.png

May.25,2022

all form items with the same name are named grade [] , and the backend can get


the front end usually converts the array into a string with JSON.stringify (), so that the back end can receive it, such as:

  

I sent a request using axios. I can't get a key with the same name in form data.

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-1b34eb7-e4a0.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-1b34eb7-e4a0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?