SlideShare a Scribd company logo
Mulesoft
HTTP Connector
https://docs.mulesoft.com/mule-user-guide/v/3.8/http-connector
Kumar Gaurav
k10gaurav@gmail.com
Agenda
• Introduction
• Ways it works
• HTTP Listener
• HTTP Requester
• Sample Use Case
• Conclusion
About
The HTTP connector can send and receive HTTP and HTTPS requests given
a selected host, port and address.
Depending on your needs, you can either:
 Listen for HTTP requests
 Send HTTP requests
Through additional configuration, the connector allows you to:
 Use TLS encryption to send or receive HTTPS requests
 Send Authenticated Requests, via Basic Authentication, Digest and OAuth
Ways it works
In Studio, the HTTP connector can work in one of two ways, depending on
where it’s placed in a flow:
 As an HTTP Listener
 As an HTTP Requester
As HTTP Listener
To instantiate the connector as an HTTP listener connector, you must place it
onto a blank Anypoint Studio canvas into the Source section of a new flow (i.e.
as the first element in the flow) as you design your Mule application:
As HTTP Requester
To instantiate the connector as an HTTP request connector, you must place it
into the Process section of a flow (i.e. : anywhere except the beginning of it):
Sample Use Case
So now, we will see how http connector works as a listener:
Continue…
Step 1: Create a new flow httpconndemoFlow as directed below:
Continue…
Step 2: Configure http listener of httpconndemoFlow for GET method as:
Continue…
Step 3: Add a set payload transformer and a logger just after it
Value:
#['This is a sample payload']
Message:
#['LOGGER_MSG- '+message.payload]
Continue…
Resulting XML config would be:
Continue…
Now, we let’s start testing in browser
Corresponding logger message in console:
Conclusion
So this way we have seen how http connector works as a listener, Similarly http
requester can be configured and be used.
HTTP listener can be configured for different HTTP methods- GET, POST, etc.
Thank you!

More Related Content

What's hot (16)

PPTX
Mule message enricher
Anirban Sen Chowdhary
 
PPTX
Converting with custom transformer
F K
 
PPTX
Quartz in Mule
Mohammed246
 
PPTX
Xslt with mule
Son Nguyen
 
PPTX
Xslt in mule
irfan1008
 
PPTX
Soap request in mule
Praneethchampion
 
PPTX
Mulesoft vm transport reference
kumar gaurav
 
PPTX
Webservice vm in mule
Praneethchampion
 
PPTX
Mulesoft file connector
kumar gaurav
 
PPTX
Mule quartz
Praneethchampion
 
PPTX
Xml to xml transformation in mule
Rajkattamuri
 
PPTX
Integration with Dropbox using Mule ESB
Rupesh Sinha
 
PPTX
Idempotent filter with simple file
Anirban Sen Chowdhary
 
PPTX
Mule Message Properties Component
Durga Prasad Kakarla
 
PPTX
Mule batch job
Anirban Sen Chowdhary
 
PPTX
xslt in mule
Praneethchampion
 
Mule message enricher
Anirban Sen Chowdhary
 
Converting with custom transformer
F K
 
Quartz in Mule
Mohammed246
 
Xslt with mule
Son Nguyen
 
Xslt in mule
irfan1008
 
Soap request in mule
Praneethchampion
 
Mulesoft vm transport reference
kumar gaurav
 
Webservice vm in mule
Praneethchampion
 
Mulesoft file connector
kumar gaurav
 
Mule quartz
Praneethchampion
 
Xml to xml transformation in mule
Rajkattamuri
 
Integration with Dropbox using Mule ESB
Rupesh Sinha
 
Idempotent filter with simple file
Anirban Sen Chowdhary
 
Mule Message Properties Component
Durga Prasad Kakarla
 
Mule batch job
Anirban Sen Chowdhary
 
xslt in mule
Praneethchampion
 

Viewers also liked (7)

PDF
Test Smarter: Efficient Coverage Metrics That Won't Leave You Exposed
SmartBear
 
PPTX
Utility of Test Coverage Metrics in TDD
XP Conference India
 
PPTX
Symphony Software Foundation API Working Group Proposal
Symphony Software Foundation
 
PDF
Welcome to the Symfony2 World - FOSDEM 2013
Lukas Smith
 
PDF
Architecting an Enterprise API Management Strategy
WSO2
 
PPT
Testing Metrics
PM Venkatesha Babu
 
Test Smarter: Efficient Coverage Metrics That Won't Leave You Exposed
SmartBear
 
Utility of Test Coverage Metrics in TDD
XP Conference India
 
Symphony Software Foundation API Working Group Proposal
Symphony Software Foundation
 
Welcome to the Symfony2 World - FOSDEM 2013
Lukas Smith
 
Architecting an Enterprise API Management Strategy
WSO2
 
Testing Metrics
PM Venkatesha Babu
 
Ad

Similar to Mulesoft http connector (20)

PPTX
Mulesofthttpconnector
ennVee TechnoGroup Inc.
 
PPTX
Hypertex transfer protocol
wanangwa234
 
PPTX
Http connector
Thang Loi
 
PPTX
Http connector
Thang Loi
 
PPTX
HTTP Request Smuggling
Akash Ashokan
 
PDF
Http smuggling 1 200523064027
n|u - The Open Security Community
 
PPTX
http presentation 1.pptx
DeepakKumar408406
 
PPTX
Http_Protocol.pptx
Abshar Fatima
 
PPTX
HTTP
bhavanatmithun
 
PPTX
Mearn Stack Web Development(Http Presentation)
VASUOFFICIAL
 
PPTX
Application layer
rohit nimbalkar
 
PPT
Http request&response by Vignesh 15 MAR 2014
Navaneethan Naveen
 
PPTX
Composite source in bound and out-bound
Son Nguyen
 
ODP
Starting With Php
Harit Kothari
 
PPTX
HTTP Presentation(What exactly is http).pptx
RobertDanso
 
PPT
Web Server Technologies I: HTTP
webhostingguy
 
PPT
Web Server Technologies I: HTTP & Getting Started
Port80 Software
 
PDF
Introduction To Web (Mukesh Patel)
Tirthesh Ganatra
 
ODP
PHP Training: Module 1
hussulinux
 
PDF
Ch2 the application layer protocols_http_3
Syed Ariful Islam Emon
 
Mulesofthttpconnector
ennVee TechnoGroup Inc.
 
Hypertex transfer protocol
wanangwa234
 
Http connector
Thang Loi
 
Http connector
Thang Loi
 
HTTP Request Smuggling
Akash Ashokan
 
Http smuggling 1 200523064027
n|u - The Open Security Community
 
http presentation 1.pptx
DeepakKumar408406
 
Http_Protocol.pptx
Abshar Fatima
 
Mearn Stack Web Development(Http Presentation)
VASUOFFICIAL
 
Application layer
rohit nimbalkar
 
Http request&response by Vignesh 15 MAR 2014
Navaneethan Naveen
 
Composite source in bound and out-bound
Son Nguyen
 
Starting With Php
Harit Kothari
 
HTTP Presentation(What exactly is http).pptx
RobertDanso
 
Web Server Technologies I: HTTP
webhostingguy
 
Web Server Technologies I: HTTP & Getting Started
Port80 Software
 
Introduction To Web (Mukesh Patel)
Tirthesh Ganatra
 
PHP Training: Module 1
hussulinux
 
Ch2 the application layer protocols_http_3
Syed Ariful Islam Emon
 
Ad

More from kumar gaurav (20)

PPTX
Need Of Enterprise Integration
kumar gaurav
 
PDF
Reason to connect with Mulesoft
kumar gaurav
 
PPTX
Mulesoft idempotent Message Filter
kumar gaurav
 
PPTX
Mulesoft Using Groovy Component
kumar gaurav
 
PPTX
Mulesoft Calling Flow of Other Applications
kumar gaurav
 
PPTX
Mulesoft Solutions for Mobile
kumar gaurav
 
PPTX
Mulesoft Solutions for SOA
kumar gaurav
 
PPTX
Mulesoft Solutions for IoT
kumar gaurav
 
PPTX
Mulesoft Anypoint platform for APIs
kumar gaurav
 
PPTX
Oracle Managed Files Transfer- Key based authentication
kumar gaurav
 
PPT
Java collections concept
kumar gaurav
 
PPTX
Struggle that counts
kumar gaurav
 
PDF
Team Work
kumar gaurav
 
PPTX
MySQL index optimization techniques
kumar gaurav
 
PPTX
Security guidelines for web development
kumar gaurav
 
PPT
Java web services
kumar gaurav
 
PPT
Oracle web center suit
kumar gaurav
 
PPT
jQuery Beginner
kumar gaurav
 
PPTX
Mulesoft flows
kumar gaurav
 
PDF
Oracle BPM 11g advanced correlation
kumar gaurav
 
Need Of Enterprise Integration
kumar gaurav
 
Reason to connect with Mulesoft
kumar gaurav
 
Mulesoft idempotent Message Filter
kumar gaurav
 
Mulesoft Using Groovy Component
kumar gaurav
 
Mulesoft Calling Flow of Other Applications
kumar gaurav
 
Mulesoft Solutions for Mobile
kumar gaurav
 
Mulesoft Solutions for SOA
kumar gaurav
 
Mulesoft Solutions for IoT
kumar gaurav
 
Mulesoft Anypoint platform for APIs
kumar gaurav
 
Oracle Managed Files Transfer- Key based authentication
kumar gaurav
 
Java collections concept
kumar gaurav
 
Struggle that counts
kumar gaurav
 
Team Work
kumar gaurav
 
MySQL index optimization techniques
kumar gaurav
 
Security guidelines for web development
kumar gaurav
 
Java web services
kumar gaurav
 
Oracle web center suit
kumar gaurav
 
jQuery Beginner
kumar gaurav
 
Mulesoft flows
kumar gaurav
 
Oracle BPM 11g advanced correlation
kumar gaurav
 

Recently uploaded (20)

PDF
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
PDF
Quantum Threats Are Closer Than You Think – Act Now to Stay Secure
WSO2
 
PDF
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
PPTX
Wondershare Filmora Crack Free Download 2025
josanj305
 
PDF
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
PPTX
Mastering Authorization: Integrating Authentication and Authorization Data in...
Hitachi, Ltd. OSS Solution Center.
 
PPTX
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
PDF
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
PDF
Dev Dives: Accelerating agentic automation with Autopilot for Everyone
UiPathCommunity
 
PDF
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
PDF
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
PDF
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
PDF
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
PDF
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
PDF
5 Things to Consider When Deploying AI in Your Enterprise
Safe Software
 
PPTX
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
PPTX
Reimaginando la Ciberdefensa: De Copilots a Redes de Agentes
Cristian Garcia G.
 
PDF
Pipeline Industry IoT - Real Time Data Monitoring
Safe Software
 
PDF
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
Quantum Threats Are Closer Than You Think – Act Now to Stay Secure
WSO2
 
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
Wondershare Filmora Crack Free Download 2025
josanj305
 
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
Mastering Authorization: Integrating Authentication and Authorization Data in...
Hitachi, Ltd. OSS Solution Center.
 
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
Dev Dives: Accelerating agentic automation with Autopilot for Everyone
UiPathCommunity
 
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
5 Things to Consider When Deploying AI in Your Enterprise
Safe Software
 
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
Reimaginando la Ciberdefensa: De Copilots a Redes de Agentes
Cristian Garcia G.
 
Pipeline Industry IoT - Real Time Data Monitoring
Safe Software
 
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 

Mulesoft http connector