# Make HTTP Request

**Introduction**&#x20;

This step is designed to perform HTTP requests to specified URLs, useful for integrating external APIs or web services into an automation.

**Configuration**

1. **URL**: Enter the URL to which the HTTP request will be made. This is a required field.
2. **Method**: Select the HTTP method to be used for the request. Options include GET, POST, PUT, DELETE, PATCH, HEAD, and OPTIONS. This is a required field.
3. **Body**: (Optional) Provide the body of the request. Useful for methods like POST or PUT. Maximum length is 500,000 characters.
4. **Query**: (Optional) Define query parameters as key-value pairs. These will be appended to the URL.
5. **Headers**: (Optional) Specify any headers as key-value pairs to be included in the HTTP request.

**Outputs**

* **Response**: The response from the HTTP request. It includes:
  * **Status**: HTTP status code of the response.
  * **Body**: The body of the response, if any.
  * **Headers**: A list of response headers, each represented as a key-value pair.

**Usage**&#x20;

Ideal for extending the functionality of automations to interact with external web services, APIs, or any resource accessible over HTTP.


---

# 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.flexy.bot/modules/scripting/steps/make-http-request.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.
