There are many scenarios where you need a custom middleware, such as: logging, adding a RequestId header, debugging integrations with 3rd parties(to...