How to connect HTML button to Express server delete route?
I have an Express server with a route for deleting a (psychology) experiment. (I have split my routes into multiple files. This route is in admin.js and thus its full route path is /admin/experiments/:expId) router.route('/experiments/:expId') .delete(tokens.verifyToken, adminValidator.isAdmin, (req, res) =>…