Reputation: 1097
I wanted to use mule ESB to access a rest api periodically, and save the response JSON to disk.
Basically, I need to use https:inbound-endpoint to perform something like:
curl -H "Authorization: Bearer XXXXX" -k https://somehost.com/api
in mule.
Any working example for me to start with?
Upvotes: 1
Views: 1670
Reputation: 4704
Basically you need to configure the https connector and create a keystore or use the one on the JDK.
The mule documentation page contains a very simple example with step-by-step settings.
Upvotes: 2