Now want to front the questionnaire scores of every question, and then in the back-end process, because there are multiple computing index so want specific score on each question, there are dozens of questions; I want him to pass an array to come over, then I don't know how to lose when the postman test the parameters of the solution
CodePudding user response:
Pass an array, you can use on the front end in js array. Join (", ");The elements of an array is a comma splice into string passed to the backend, back-end trim is used after get () method into an array, you can try
CodePudding user response:
Refer to the following, postman array example,https://blog.csdn.net/quwenzhe/article/details/78737636