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
http://dummy.restapiexample.com/api/v1/employees
Drag and drop http listener and configure
also set path as /getAllemployees
Drag and drop Http Requester and configure the host as dummy.restapiexample.com
Configure the resource path
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.