Saturday, 20 April 2019

How do I make all get-requests support head-requests?

Hey people,I'm finding tons of tutorials on how to make get-requests like:app.get(/*someRounte*/, (req, res) => { // code });I haven't found a single tutorial on head-requests though.Is there some kind of best practice on how to implement head-requests?

Submitted April 20, 2019 at 12:43PM by JLeeOT

No comments:

Post a Comment