How to call an external API using CPM
I am trying to create an Object event handler in Process Designer that will do the following:
- Call an external API (my test API is: http://data.fixer.io/api/latest?access_key='KEY'&&symbols=GBP)
- GET the specific data from this API
- UPDATE the data we got under specific custom field in Contacts table.
Can anyone give us a directions on how can we achieve this goal as well as provide some sample code? Maybe someone already had this kind of task before.