# HTTP client

## ![](/files/MqAe2YH5h32lvnPhoZ9P) HTTP client

### Description <a href="#description" id="description"></a>

The HTTP Client transform performs a simple call to a base URL with additional options.

http\://\<URL>?param1=value1\&param2=value2\&param3..

The result is stored in a String field with the specified name.

| Hop Engine | <sup>✓</sup> |
| ---------- | ------------ |
| Spark      | ?            |
| Flink      | ?            |
| Dataflow   | ?            |

### Options

| Option                                  | Description                                                                                                                                        |
| --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| Transform name                          | Name of the transform; this name has to be unique in a single pipeline                                                                             |
| URL                                     | The base URL string                                                                                                                                |
| Accept URL from field?                  | Enable this option if you want to get the URL from a previous transform. Enabling this will also allow you to specify the name of the input field. |
| URL field name                          | The name of the incoming field that contains the URL                                                                                               |
| Connection timeout                      |                                                                                                                                                    |
| Socket timeout                          | The number of seconds to wait if no data is returned from the server.                                                                              |
| Connection close wait time              |                                                                                                                                                    |
| Result fieldname                        | The name of the field to store results                                                                                                             |
| HTTP status code field name             | The name of the field to store the HTTP response code (e.g. 200, 404)                                                                              |
| Response time (milliseconds) field name | The name of the field to store the response time                                                                                                   |
| Http Login                              | The username to be passed during HTTP (Basic) authentication                                                                                       |
| HTTP Password                           | The password to be passed during HTTP (Basic) authentication                                                                                       |
| Proxy Host                              | The hostname of the Proxy Server to be used                                                                                                        |
| Proxy Port                              | The port number of the Proxy Server to be used                                                                                                     |
| Parameters                              | Area where you define the parameter name-value pairs to pass on the URL                                                                            |
| Custom HTTP Headers                     | Area where you define optional HTTP headers                                                                                                        |

### FAQ

#### The HTTP client transform doesn’t do anything

**Q**: The HTTP client transform doesn’t do anything, how do I make it work?

**A**: The HTTP client transform needs to be triggered. Use a Row generator transform generating e.g. 1 empty row and link that with a hop to the HTTP client transform.

#### The HTTP client transform and SOAP

**Q**: Does the HTTP client support SOAP?

**A**: No, it just calls an URL with arguments. Future transforms may provide SOAP functionality, Work is underway on a WebService transform supporting WSDL.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.primeur.com/data-shaper-1.21/knowing-the-data-shaper-designer/pipelines/transforms/http.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
