Call external Http Rest API


To call external HTTP REST APIs, We can start by creating project in Anypoint studio

For this tutorial we will Invoke below rest URL

Drag and drop http listener and configure

Call HTTP REST service


also set path as /getAllemployees

Call HTTP REST service


Drag and drop Http Requester and configure the host as

Call HTTP REST service


Configure the resource path

Call HTTP REST service


Export the jar file and deploy the application on Cloudhub


Test the application

Thank you for taking out time to read the above post. Hope you found it useful. In case of any questions, feel free to comment below. Also, if you are keen on knowing about a specific topic, happy to explore your recommendations as well.
For any latest updates or posts on our website, you can follow us on LinkedIn. Look forward to connecting with you there.

Share this:
Notify of
Inline Feedbacks
View all comments