# Viewing code and executing the Route

## Procedure

1. Click the Code tab at the bottom of the design workspace to check the generated code.

   ![](https://help.qlik.com/talend/en-US/mediation-components/8.0/Resources/images/use_case_chttp_12.png)

   As shown above, the route is built from the endpoint server\_cHttp\_1 and the message header id is printed out by cProcessor\_1.
2. Press F6 to execute the Route.

   ![](https://help.qlik.com/talend/en-US/mediation-components/8.0/Resources/images/use_case_chttp_13.png)
3. Start a Web browser. In the address bar, type in http://localhost:8088/user?id=1 and click Enter. A blank page opens up.

   ![](https://help.qlik.com/talend/en-US/mediation-components/8.0/Resources/images/use_case_chttp_14.png)
4. Switch back to Talend Studio. The ID 1 is printed in the console.

   ![](https://help.qlik.com/talend/en-US/mediation-components/8.0/Resources/images/use_case_chttp_15.png)