# Adding components for the POST request

Add new components and connect them to use a POST operation to add a movie to a database.

## Procedure

1. Add a tExtractXMLField to your workspace.
2. From Metadata &gt; Db Connections &gt; connection\_mysql &gt; Table schemas, drag your movies schema and drop it on your workspace, then select tDBOutput(MySQL).
3. Add a tXMLMap and a tRESTResponse.
4. Connect your tRESTRequest to the tExtractXMLField with a Row &gt; addMovie connection.
5. Connect the tExtractXMLField to the tDBOutput and the tDBOutput to the tXMLMap\_3 with Row &gt; Main connections.
6. Connect the tXMLMap\_3 to the tRESTResponse\_3 with a Row &gt; Main connection and name it newMovie.
7. Drop the movies schema from your repository below the tDBOutput and select tDBInput(MySQL).
8. Add a tLogRow and connect the tDBInput\_3 to it using a Row &gt; Main connection.
9. Connect the tDBOutput to the tDBInput\_3 with a Trigger &gt; On Component Ok connection.
10. Save your service.

## Results

All the components are added and connected, you can now configure them.

Your service should look like this:

![Service in the design workspace.](https://help.qlik.com/talend/en-US/api-services-getting-started-guide-api-services-platform/Resources/images/service_post.png)

### In this section

* [Configuring the service to add a movie](https://help.qlik.com/talend/en-US/api-services-getting-started-guide-api-services-platform/Cloud/configuring-service-to-add-movie)