<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>TrishulAPI Q&amp;A - Recent questions in Middlewares</title>
<link>https://trishulapi.com/forum/questions/middlewares</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to create own MIddleware?</title>
<link>https://trishulapi.com/forum/12/how-to-create-own-middleware</link>
<description>&lt;p&gt;Hello Developers, all of us know the value of middlewares in any framework.&lt;/p&gt;&lt;p&gt;Some people call it interceptors, in spring boot it is called filterchain. In frameworks like laravel, TrishulAPI it is called middleware.&lt;/p&gt;&lt;h3&gt;&lt;strong&gt;Work of Middleware: &lt;/strong&gt;&lt;/h3&gt;&lt;p&gt;To intercept the incoming request and outgoing response.&lt;/p&gt;&lt;h3&gt;&lt;strong&gt;Use Case:&lt;/strong&gt;&lt;/h3&gt;&lt;div&gt;&lt;strong&gt;AuthMiddleware&lt;/strong&gt;: To authenticate the request before it reaches to any controller.&lt;/div&gt;&lt;div&gt;&lt;strong&gt;LogMiddleware:&lt;/strong&gt; To log the incoming request and outgoing response.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;How to create middleware in TrishulApi?&lt;/div&gt;&lt;div&gt;&lt;/div&gt;</description>
<category>Middlewares</category>
<guid isPermaLink="true">https://trishulapi.com/forum/12/how-to-create-own-middleware</guid>
<pubDate>Thu, 26 Jun 2025 02:55:48 +0000</pubDate>
</item>
</channel>
</rss>