# General tab

![General tab in REST client](/files/Rp4cNJs2WoXzAvLeQyps)

Use the **General** tab to enter the following connection information for your REST client resource:

| Option                                     | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **URL**                                    | Specify the path to the REST client resource. To specify the path from a field within the incoming PDI stream, select **Accept URL from field**.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **Accept URL from field**                  | Select to designate the path to the resource that is defined by a field within the incoming PDI stream. If you select this option, **URL field name** becomes available.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **URL field name**                         | Select the field from the incoming PDI stream. The field should contain the path to the resource. This option is available only if you select **Accept URL from field**.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **HTTP method**                            | <p>Select how this step interacts with the resource. You can select from the following possible actions:- <strong>GET</strong>: To retrieve a resource.</p><ul><li><strong>POST</strong>: To create a new resource.</li><li><strong>PUT</strong>: To create or update an existing resource.</li><li><strong>DELETE</strong>: To delete a resource.</li><li><strong>HEAD</strong>: To retrieve only the header information to a resource.</li><li><strong>OPTIONS</strong>: To describe other methods and operations supported by the server.</li><li><strong>PATCH</strong>: To make partial updates on a resource.</li></ul>                                                                                   |
| **Get Method from field**                  | Select to designate the **GET** method that is defined from a field within the incoming PDI stream. If you select this option, **Method fieldname** becomes available.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| **Method fieldname**                       | Select the field that defines the **GET** method. This option is available only if you select **Get Method from field**.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| **Body field**                             | <p>Select the field to contain the request body for <strong>POST</strong>, <strong>PUT</strong>, and <strong>PATCH</strong> methods.<strong>Note:</strong> If using a request that was written prior to Pentaho 8.3, you can no longer use the <strong>DELETE</strong> method to carry a payload from the <strong>Body field</strong>. Instead, you must modify the request and pass the payload using one of the following methods:</p><ul><li>Use the <strong>PUT</strong> method to pass the data in the <strong>Body field</strong> and then send a <strong>DELETE</strong> request.</li><li>Use the <strong>DELETE</strong> method, but pass all data to the server directly as part of the URL.</li></ul> |
| **Application type**                       | Select the application type of the resource content.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **Result fieldname**                       | Specify the name of the resulting output field.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **HTTP status code fieldname**             | Specify the name of the HTTP status code field.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **Response time (milliseconds) fieldname** | Specify the name of the response time field.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **Response header field name**             | Specify the name of the response header field.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |


---

# 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.pentaho.com/pdia-data-integration/10.2-data-integration/pdi-transformation-steps-reference-overview/rest-client-step/options-rest-client/general-tab.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.
