# Set Methods

This is a pre-built action located under the **WebService List Element**. It instructs the Avo Assure Client to set the HTTP(S) method for the web service execution.

### **Syntax**

**Input Value:** `<Method>`

| Argument            | Description                                                                                                                                                                                                       |
| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| \<Method>(Required) | <p>Provide the HTTP method to be used for the web service execution. <br><em><strong>Note:</strong></em><br><em>Supported methods (must be in uppercase): <strong>GET, POST, HEAD, PUT, DELETE.</strong></em></p> |

**Output Value**

| Argument | Description    |
| -------- | -------------- |
| N/A      | Not Applicable |

**Example**

**Sets the HTTP method to GET for the web service request.**

The **Set Methods** action takes the HTTP method from the Input Value column as **GET** and applies it to the web service call associated with the previously set endpoint URL.<br>

<figure><img src="/files/kCCv8ao2y9iz3ik4B1TI" alt=""><figcaption></figcaption></figure>


---

# 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.avoautomation.com/avo-assure/actions/web-service-operations/web-service-list/set-methods.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.
