HTTPS API call FROM Campaign To an external API.

Avatar

Avatar

anumola8359486

Avatar

anumola8359486

anumola8359486

14-08-2017

Hi All,

We have a requirement to call an HTTPs API from AC. Can anyone suggest how we can do the same? do we need to pass the SSL  details in the call here ?

Thanks and Regards,

Anumol Antony

View Entire Topic

Avatar

Avatar

Jean-Serge_Biro

MVP

Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
MVP

16-08-2017

Hi Anumol,

And also, please may you give the result of this simple JS activity code in your workflow:

try

{

  var url = "https://yourUrlAddress.com"

  getUrl(url)

}

catch(e)

{

  logInfo("Can't get page content: " + url )

  logInfo("Error number: " + e )

}

It is equivalent to a wget/curl command or the same of the standard Web download activity , it download the content of the URL resource. Of course if your endpoint needs credentials to login, it won't work. But I would be sure that this is a true handshake/SSL (TLS) issue you are facing with.

Regards

Jean-Serge