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.

Menu