<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Neelam Bora</title>
    <description>The latest articles on DEV Community by Neelam Bora (@curious_niloufer).</description>
    <link>https://dev.to/curious_niloufer</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4060931%2F8de71d16-4cc8-4a5f-8ddf-86caa8b2149d.png</url>
      <title>DEV Community: Neelam Bora</title>
      <link>https://dev.to/curious_niloufer</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/curious_niloufer"/>
    <language>en</language>
    <item>
      <title>I used Spring Boot daily but never really understood what happened after pressing Enter in Postman.</title>
      <dc:creator>Neelam Bora</dc:creator>
      <pubDate>Mon, 03 Aug 2026 21:08:25 +0000</pubDate>
      <link>https://dev.to/curious_niloufer/i-used-spring-boot-daily-but-never-really-understood-what-happened-after-pressing-enter-in-postman-5cej</link>
      <guid>https://dev.to/curious_niloufer/i-used-spring-boot-daily-but-never-really-understood-what-happened-after-pressing-enter-in-postman-5cej</guid>
      <description>&lt;p&gt;Most of us use Spring Boot every day.&lt;/p&gt;

&lt;p&gt;We create a @RestController, run the application, hit an endpoint from Postman, and get a response.&lt;/p&gt;

&lt;p&gt;But have you ever wondered what actually happens between clicking "Send" in Postman and your controller method executing?&lt;/p&gt;

&lt;p&gt;When I started digging into Spring internals, I realized there are several layers working together before my controller is even called.&lt;/p&gt;

&lt;p&gt;Here's the high-level request flow:&lt;/p&gt;

&lt;p&gt;Postman&lt;br&gt;
   │&lt;br&gt;
   ▼&lt;br&gt;
Operating System&lt;br&gt;
   │&lt;br&gt;
   ▼&lt;br&gt;
Embedded Tomcat&lt;br&gt;
   │&lt;br&gt;
   ▼&lt;br&gt;
Servlet Filter Chain&lt;br&gt;
   │&lt;br&gt;
   ▼&lt;br&gt;
Spring Security (JWT)&lt;br&gt;
   │&lt;br&gt;
   ▼&lt;br&gt;
DispatcherServlet&lt;br&gt;
   │&lt;br&gt;
   ▼&lt;br&gt;
Controller&lt;br&gt;
   │&lt;br&gt;
   ▼&lt;br&gt;
Service&lt;br&gt;
   │&lt;br&gt;
   ▼&lt;br&gt;
Repository&lt;br&gt;
   │&lt;br&gt;
   ▼&lt;br&gt;
Database&lt;br&gt;
What surprised me?&lt;/p&gt;

&lt;p&gt;One thing I misunderstood for a long time was thinking that the request directly reaches my controller.&lt;/p&gt;

&lt;p&gt;In reality:&lt;/p&gt;

&lt;p&gt;The Operating System first routes the request to the application listening on the target port (for example, 8080).&lt;br&gt;
Embedded Tomcat accepts the connection.&lt;br&gt;
The request passes through the Servlet Filter Chain.&lt;br&gt;
Spring Security validates the JWT (if security is enabled).&lt;br&gt;
Only after successful authentication does the request reach Spring MVC's DispatcherServlet, which finds the correct controller.&lt;/p&gt;

&lt;p&gt;This means your controller only executes after several infrastructure components have already processed the request.&lt;/p&gt;

&lt;p&gt;Key Takeaway&lt;/p&gt;

&lt;p&gt;Understanding this request flow makes Spring Boot feel much less "magical."&lt;/p&gt;

&lt;p&gt;Instead of memorizing annotations, you begin to understand why they work.&lt;/p&gt;

&lt;p&gt;In the next post, I'll explain how Spring Boot starts Embedded Tomcat automatically before the first request even arrives.&lt;/p&gt;

</description>
      <category>api</category>
      <category>java</category>
      <category>springboot</category>
    </item>
  </channel>
</rss>
