Solution to the problem Request method 'GET' not supported (type=Method Not Allowed, status=405) appears in the browser

Request method 'GET' not supported The get request method is not supported, only the POST method is supported.
Insert image description here
Solution: Change the get request to a post request.

1. Firefox browser
Firefox can directly edit the request parameters, then resend the request
F12, click Edit and Resend, change to POST, click Send
Insert image description here
Insert image description here
2. Postman
Use the tool Postman
to enter the URL-select the desired request method-Send
Insert image description here

Guess you like

Origin blog.csdn.net/weixin_46475607/article/details/120412248