Good question, if you observe the video carefully at 20:55 where I'm going through the dependencies in POM you'd find that there is a mule-http-proxy-extension artifact added as a dependency. That will help you to get the request header component. The component is specifically used by mule to set headers (request/response) when creating proxy api automatically, there are not much use cases when manually developing a non-proxy mule api.