Does Express support the HTTP verb "PATCH", as in:
app.patch("/api/resource", function(req, res){ ... });
I checked the docs and it seems pretty unclear to me. They discuss GET and POST, but seem to lump everything else under "all the other HTTP verbs".
Yes.
Express.js has a dependency on node-methods. The list of supported methods is found here. The loop that creates the app.VERB
methods for express is here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With