> For the complete documentation index, see [llms.txt](https://hub.equipme.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hub.equipme.io/equipme/automation/workflows/http.md).

# HTTP

The HTTP module in the Equipme Automation App allows you to interact with external services using common HTTP requests, making it easy to connect with various APIs and services on the internet. Here’s a simple breakdown of the key HTTP requests available in this module:

In the realm of automation, sometimes you may encounter a specific task or integration that isn't directly supported by pre-built components. When faced with such a scenario, HTTP emerges as a powerful tool to create custom solutions.

**Why HTTP?**

HTTP, the foundation of the web, allows you to communicate with a wide range of services and APIs. By crafting custom HTTP requests, you can:

* **Fetch data** from external sources (e.g., weather APIs, stock market data).
* **Send data** to other systems (e.g., posting updates to social media).
* **Trigger actions** in other applications (e.g., starting a workflow in another tool).

**How to Use HTTP in Your Automation**

1. **Identify the API:** Research the API documentation of the service you want to interact with. Understand the endpoints, request methods (GET, POST, PUT, DELETE), and required parameters.
2. **Construct the Request:**&#x55;se your automation tool's HTTP module to create a request with:
   * **URL:** The specific endpoint to target.
   * **Method:** The appropriate HTTP method (GET, POST, etc.).
   * **Headers:** Any necessary headers (e.g., authorization tokens, content type).
   * **Body:** The data to send in the request (if applicable).
3. **Parse the Response:** Process the server's response, typically in JSON or XML format. Extract the relevant information and use it in subsequent steps of your automation.

By harnessing the power of HTTP, you can extend the capabilities of your automation platform and create tailored solutions to meet your specific needs. So, the next time you encounter a limitation, remember: HTTP is your DIY tool to bridge the gap.

#### Key HTTP Requests

1. **GET**: Retrieves information from a specified source. For example, you could use it to fetch the current Bitcoin price or other data from an API and have it sent to your email.
2. **POST**: Sends data to a specific endpoint, typically used for creating or submitting new entries in an external system.
3. **PUT**: Updates existing data in an external service. Use this when you want to modify existing records or entries.
4. **DELETE**: Removes data from an external service.
5. **RESPONSE**: Sends an HTTP response back to the service that initiated the request. This is useful for confirming receipt of data or providing feedback based on your flow’s outcome.
6. **UPTIME**: Regularly checks if a site or service is up and running. If the site’s availability changes, you’ll receive a notification.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://hub.equipme.io/equipme/automation/workflows/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.
