SpringBoot: Request method ‘POST‘ not supported 405

Debug the SpringBoot backend, after the client request is sent, an error message is reported in the background: Request method'POST' not supported

Strange, this module is copied from an existing module, why can it be wrong?

Double-checked, it's not the setting of POST itself.

It turns out that there is extra content in the request path:

Just remove the extra backslashes.

But this error message is weird, making people mistakenly think that it is a problem with POST/GET request type settings.

problem solved.

Guess you like

Origin blog.csdn.net/zhouyingge1104/article/details/115291876