In FastAPI, when a client sends a request, the framework calls the endpoint function. Inside this function, you can return data. To control the HTTP status code sent back, you specify status_code in the route decorator. For example, setting status_code=status.HTTP_201_CREATED means the client receives a 201 Created status. If you don't specify it, FastAPI sends 200 OK by default. The execution table shows each step: request sent, function called, response prepared with status code, response sent, and client receives it. Variables like status_code and response_body change during execution. Beginners often wonder why status_code is set in the decorator and what happens if omitted. The answer is that the decorator sets the status automatically, and default is 200 if not set. This control helps clients understand if their request succeeded or failed.