---
schema_version: "1"
id: eac864a3ecdca3ada7eb8a0794db3a3e3635a5b12e07573ee617aa3010ecb343
title: HTTP Connector Examples
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/http-connector/latest/http-connector-examples.md
canonical_url: https://docs.mulesoft.com/http-connector/latest/http-connector-examples
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 9a15ae9eefd19cb8f64a3d4b183691f59840ded9bd08ef006bec1f3be9fa5790
description: MuleSoft Documentation Site
release: "1.12"
latest: true
---
---
product: HTTP Connector
version: 1.12
is-latest-version: true
keywords: anypoint, connectors, transports
---

# HTTP Connector Examples

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

To fully benefit from using Anypoint Connector for HTTP (HTTP Connector), see the following examples
of configuring the connector in Anypoint Studio.

## HTTP Connector Studio Examples

The following examples illustrate how to configure the connector in Anypoint Studio:

- [Start an App from a Browser](https://docs.mulesoft.com/http-connector/latest/http-start-app-brows-task)  
  Configure the HTTP **Listener** operation to start an app from a browser.

- [Consume a REST Service](https://docs.mulesoft.com/http-connector/latest/http-consume-web-svc-task)  
  Configure both the HTTP **Listener** and HTTP **Request** operations to consume a REST service.

- [Load a Static Resource](https://docs.mulesoft.com/http-connector/latest/http-load-static-res-task)  
  Configure both the HTTP **Listener** and HTTP **Load static resource** operations to load a static
  resource.

- [Route HTTP Requests to Different Paths](https://docs.mulesoft.com/http-connector/latest/http-conn-route-diff-paths-task)  
  Configure the HTTP **Listener** operation and **Logger** component to route HTTP requests to
  different paths.

- [Route Requests Based on HTTP Method](https://docs.mulesoft.com/http-connector/latest/http-route-methods-based-task)  
  Configure the HTTP **Listener** source to route requests based on HTTP methods.

- [Post a Form](https://docs.mulesoft.com/http-connector/latest/http-post-form-task)  
  Configure the HTTP **Listener** source, **Choice Router** and **Set Payload** components to post a
  form by sending HTTP requests.

- [Set HTTP Error Status and Reason](https://docs.mulesoft.com/http-connector/latest/http-error-status-reason-phrase-task)  
  Configure the HTTP **Listener** source and the **Validation Module**, **Set Payload**, and **Error
  Handler** components to set the error status code and reason phrase for a user login validation
  request.

- [Configure HTTP Basic Security Filter](https://docs.mulesoft.com/http-connector/latest/http-connector-basic-security)  
  Configure the **Basic Security Filter** operation to enforce basic authentication.
