I have google searched, don't seem to find an answer to this. What is the difference between them, doing axios.patch(url) and then the express router router.patch(url).
CodePudding user response:
Yes. Whatever HTTP method you're specifying in your request should match whatever your backend expects to receive.