[Mule] Researching Getting Curl to Work in Mule

 I need to Mule-ify a custom integration piece that talks to a Web API using the following cURL documented method of connecting:

curl --data "password=delphix&user=delphix_admin" http://HOSTNAME/api/login
curl -H "X-Login-Token: LOGINTOKEN" -H "X-User-Id: USERID" "http://HOSTNAME/api/list_engines"


Some interesting looking links:

How to call curl command in Mule4
https://help.mulesoft.com/s/question/0D52T000053BAhoSAG/how-to-call-curl-command-in-mule4

How to parameterize parameters of curl command in mule4
https://help.mulesoft.com/s/question/0D52T000053C0vd/how-to-parameterize-parameters-of-curl-command-in-mule4

how to call curl command from mule4
https://stackoverflow.com/questions/61928860/how-to-call-curl-command-from-mule4

Using cURL within Mule ESB
https://stackoverflow.com/questions/27226914/using-curl-within-mule-esb

Mule ESB REST testing (curl and Eclipse)
https://stackoverflow.com/questions/24856728/mule-esb-rest-testing-curl-and-eclipse

Google Search:
https://www.google.com/search?q=translate+curl+to+mule+http+site:stackoverflow.com

BONUS ARTICLE: Importing and Exporting Projects:
https://docs.mulesoft.com/studio/7.6/import-export-packages


Comments