When using spring in the background, a 400 error occurs. Generally, there is an error in the action parameter injected by springmvc. Generally speaking, the data type does not match. For example, if your User has a property that is of numeric type, but you passed in an attribute that cannot be converted into a number. If there is any problem with obtaining the string value you passed in the background, or check the parameters in the debugging tool
Because the data I submitted is related data, it was a bit troublesome. There was a wrong name attribute in the data submitted by my easyui form, which caused a syntax error
When using spring in the background, a 400 error occurs. Generally, there is an error in the action parameter injected by springmvc. Generally speaking, the data type does not match. For example, if your User has a property that is of numeric type, but you passed in an attribute that cannot be converted into a number. If there is any problem with obtaining the string value you passed in the background, or check the parameters in the debugging tool
Debug the backend, or take a screenshot of the headers to see what is being transmitted
You can try to serialize the form and send it using ajax. . . .
Looks like a grammatical error. But still take a screenshot. Or make a breakpoint and see for yourself.
Because the data I submitted is related data, it was a bit troublesome. There was a wrong name attribute in the data submitted by my easyui form, which caused a syntax error