Express uses post to request error (404)

express uses post to request an error and cannot be accessed. The Chrome console shows that the request method requesting the file is get,. How should I solve this problem?


address bar requests are all get
Please use postman and other tools to debug the interface


post, do you have body-parser?? The interface is not connected to see if it is a routing problem. You have given a little less information. It is recommended that you first body-parser


you wrote a post request, but access the corresponding route directly in the browser, right? All requests made by browsers are GET requests by default

Menu